Functions For Managing Computed Attributes - Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual

Table of Contents

Advertisement

0 if the mutex was NULL or was not locked by the calling thread.
Description
This function unlocks the mutex specified by the
slapi_wait_condvar()
Waits on a condition variable.
Syntax
#include "slapi-plugin.h"
int slapi_wait_condvar( Slapi_CondVar *cvar,
struct timeval *timeout );
Parameters
This function takes the following parameters:
cvar
timeout
Returns
This function returns one of the following values:
A non-zero value if successful.
0 if an error occurs (for example, if the condition variable is NULL or if the
mutex associated with the condition variable is not locked).
Description
This function waits on the condition variable until it receives notification (see the
slapi_notify_condvar()
must lock the mutex associated with this condition variable.

Functions for Managing Computed Attributes

This section contains reference information on computed-attribute routines.
Pointer to an Slapi_CondVar structure representing the
condition variable that you want to wait on.
Time period to wait for notification on the condition variable. If
NULL, the calling function blocks indefinitely.
function). Before calling this function, the calling thread
Functions for Managing Computed Attributes
structure.
Slapi_Mutex
Chapter 15
Function Reference
537

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents