Sun Java System Web Server 7.0 Update 4 NSAPI Developer's Guide

crit_exit() Function

The crit_exit function is a critical-section function that surrenders ownership of a critical section. Use this function to surrender ownership of a critical section. If another thread is blocked waiting for the section, the block is removed and the waiting thread is given ownership of the section.


void crit_exit(CRITICAL crvar);

Return Values



CRITICAL crvar is a critical-section variable.

See Also

crit_init() Function, crit_enter() Function, crit_terminate() Function