マルチスレッドのプログラミング

mutex_lock の構文

#include <thread.h>

int mutex_lock(mutex_t *mp);