![Netscape ENTERPRISE SERVER 6.1 Manual Download Page 143](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653143.webp)
NSAPI Functions (in Alphabetical Order)
Chapter
5
NSAPI Function Reference
143
condvar_wait
Critical-section function that blocks on a given condition variable. Use this function
to wait for a critical section (specified by a condition variable argument) to become
available. The calling thread is blocked until another thread calls
condvar_notify
with the same condition variable argument. The caller must have entered the
critical section associated with this condition variable before calling
condvar_wait
.
Syntax
void condvar_wait(CONDVAR cv);
Returns
void
Parameters
CONDVAR cv
is a condition variable.
See also
condvar_init, condvar_notify, condvar_terminate, crit_init,
crit_enter, crit_exit, crit_terminate.
crit_enter
Critical-section function that attempts to enter a critical section. Use this function to
gain ownership of a critical section. If another thread already owns the section, the
calling thread is blocked until the first thread surrenders ownership by calling
crit_exit
.
Syntax
void crit_enter(CRITICAL crvar);
Returns
void
Parameters
CRITICAL crvar
is a critical-section variable.
See also
crit_init, crit_exit, crit_terminate.
Summary of Contents for ENTERPRISE SERVER 6.1
Page 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 1 April 2002 Draft...
Page 290: ...Miscellaneous 290 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 318: ...cinfo 318 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 336: ...Buffered Streams 336 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 344: ...344 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 350: ...350 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 356: ...356 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...