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

プロセス間スコープでの条件変数


#include <thread.h>

cond_t cv;
int ret;

/* すべてのプロセスの間で使用する */
ret = cond_init(&cv, USYNC_PROCESS, 0);