NAME

catmutex_cond_init - initialize condition variable

SYNOPSIS

#include <cat/cat.h>

#include <cat/catmutex.h>

void catmutex_cond_init(CATCOND *c);

DESCRIPTION

This function initializes condition variable c. An initialized condition variable is deleted by calling catmutex_cond_free().

NOTES

The condition variable interface is implemented as macros on top of pthread condition variables on UNIX or Win32 events on Windows NT.

The semantics mostly resemble those of pthreads.

Condition variables can be used only within the scope of a process.

SEE ALSO

cat, catutil

catmutex_cond_wait, catmutex_cond_free