cnd_init(3)		   Library Functions Manual		   cnd_init(3)

NAME
     cnd_init – initialize condition variable

SYNOPSIS
     library “threads”
     #include <threads.h>

     int
     cnd_init(cnd_t *cnd);

DESCRIPTION
     The function cnd_init() initializes the given condition variable cnd.

     The initialized condition variable can be used across child processes.

RETURN VALUES
     Upon success cnd_init() returns thrd_success, if system memory is
     exhausted thrd_nomem will be returned for any other error thrd_error will
     be returned.

SEE ALSO
     cnd_destroy(3) cnd_broadcast(3) cnd_signal(3) cnd_timedwait(3)
     cnd_wait(3)

HISTORY
     The cnd_init() function first appeared in the C11 standard ISO/IEC
     9899:2011.

AUTHORS
     Jan Adelsbach <jan@jadelsbach.de>



Linux 6.13.6-1-default		  May 9, 2020		Linux 6.13.6-1-default