Complete Contents
Getting Started
Chapter 1 Understanding Server Plug-Ins
Chapter 2 Writing and Compiling Plug-Ins
Chapter 3 Calling the Front-End API Functions
Chapter 4 Quick Start
Chapter 5 Writing Database Plug-Ins
Chapter 6 Writing Pre/Post-Operation Plug-Ins
Chapter 7 Defining Functions for LDAP Operations
Chapter 8 Defining Functions for Database Operations
Chapter 9 Defining Functions for Authentication
Chapter 10 Writing Entry Store/Fetch Plug-Ins
Chapter 11 Writing Extended Operation Plug-Ins
Chapter 12 Writing Matching Rule Plug-Ins
Chapter 13 Data Type and Structure Reference
Chapter 14 Function Reference
Chapter 15 Parameter Reference
Glossary
Previous Next Contents Bookshelf Function List



 slapi_wait_condvar()
Waits on a condition variable.

Syntax

#include "slapi-plugin.h"
int slapi_wait_condvar(
Slapi_CondVar *cvar, struct timeval *timeout );

Parameters

The function has the following parameters:
cvar

Pointer to an Slapi_CondVar structure representing the condition variable that you want to wait on.
timeout

Timeout period to wait for notification on the condition variable. If NULL, the calling function blocks indefinitely.

Returns. One of the following values:

Description. This function waits on the condition variable until it receives notification (see the slapi_notify_condvar() function). Before calling this function, the calling thread must lock the mutex associated with this condition variable.

Example

[To be added]

See Also

[??? Where are these used? ???]

#define SLAPI_SEQ_FIRST 1

#define SLAPI_SEQ_LAST 2

#define SLAPI_SEQ_PREV 3

#define SLAPI_SEQ_NEXT 4

 

© Copyright 1998 Netscape Communications Corporation