Condvar_Notify; Condvar_Terminate - Netscape ENTERPRISE SERVER 6.1 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

NSAPI Functions (in Alphabetical Order)

condvar_notify

The
condvar_notify
threads that are blocked on the given critical-section variable. Use this function to
awaken threads of execution of a given critical section. First, use
gain ownership of the critical section. Then use the returned critical-section
variable to call
condvar_notify
section.
Syntax
void condvar_notify(CONDVAR cv);
Returns
void
Parameters
CONDVAR cv
See also
condvar_init, condvar_terminate, condvar_wait, crit_init,
crit_enter, crit_exit, crit_terminate.

condvar_terminate

The condvar_terminate function is a critical-section function that frees a condition
variable. Use this function to free a previously allocated condition variable.
Warning
Terminating a condition variable that is in use can lead to unpredictable results.
Syntax
void condvar_terminate(CONDVAR cv);
Returns
void
Parameters
CONDVAR cv
See also
condvar_init, condvar_notify, condvar_wait, crit_init, crit_enter,
crit_exit, crit_terminate.
142
Netscape Enterprise Server NSAPI Programmer's Guide • April 2002 (Draft)
function is a critical-section function that awakens any
to awaken the threads. Finally, when
condvar_notify
returns, call
crit_exit
is a condition variable.
is a condition variable.
to surrender ownership of the critical
to
crit_enter

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.1

Table of Contents