cnd_init
cnd_init
Defined in header <threads.h> | ||
---|---|---|
int cnd_init( cnd_t* cond ); | (since C11) |
Initializes new condition variable. The object pointed to by cond
will be set to value that identifies the condition variable.
Parameters
cond | - | pointer to a variable to store identifier of the condition variable to |
Return value
thrd_success
if the condition variable was successfully created. Otherwise returns 登录查看完整内容