Documentation Home
>
マルチスレッドのプログラミング
>
第 6 章 Solaris スレッドを使ったプログラミング
>
pthread に相当するものがある同期関数 — セマフォー
>
セマフォーの値によるブロック
> sema_wait の構文
マルチスレッドのプログラミング
Previous
: セマフォーの加算
Next
: sema_wait の戻り値
sema_wait
の構文
#include <thread.h> int sema_wait(sema_t *
sp
);
Previous
: セマフォーの加算
Next
: sema_wait の戻り値
© 2010, Oracle Corporation and/or its affiliates