nlCondBroadcast, nlCondSignal

Signal threads waiting on a condition

C Specification

NLboolean nlCondBroadcast(NLcond *cond)

NLboolean nlCondSignal(NLcond *cond)

Parameters

cond

[in]The condition to signal.

Description

nlCondBroadcast signals ALL threads waiting on nlCondWait.

nlCondSignal signals ONE thread waiting on nlCondWait.

Return values

NL_TRUE if no error occurs, otherwise NL_FALSE, and the specific error code can be retrieved by calling nlGetError

Error codes

NL_NULL_POINTER : A NULL pointer was passed to this function.
NL_SYSTEM_ERROR : A system error has ocurred. The system error can be retrieved by calling nlGetSystemError.

See also

nlCondWait,
nlCondInit,
nlCondDestroy


Back to the HawkNL index page


Go directly to the main HawkNL page at Hawk Software

© 2000-2002 Phil Frisbie.

Valid XHTML 1.0!