Sun Java System Directory Server Enterprise Edition 6.3 Developer's Guide

slapi_destroy_mutex()

Frees a Slapi_Mutex structure from memory.

Syntax

#include "slapi-plugin.h"
void slapi_destroy_mutex( Slapi_Mutex *mutex );

Parameters

This function takes the following parameters:

mutex

Pointer to the Slapi_Mutex structure that you want to free from memory.

Description

This function frees a Slapi_Mutex structure from memory. The calling function must ensure that no thread is currently in a lock-specific function. Locks do not provide self-referential protection against deletion.