cWait(3)

cWait3

Wait a condition variable signal.

Usage

#include <util/ulocks.h>
NEOERR *cWait(pthread_cond_t *cond, pthread_mutex_t *mutex);

Arguments

cond - condition variable to wait on.
mutex - locked mutex to protect <cond>.

Overview

Waits for a signal on condition variable <cond>. The mutex <mutex> must be locked by the thread.

MT-Level: Safe.

Return value

None.

Releases

10 releases since Debian 4.0 (Etch); the text changed 2 times.

  1. 4.0
  2. 5.0
  3. 6.0–13

From clearsilver-dev 0.10.5-6+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.