iofunc_lock_free()

Return memory allocated for lock structures

Synopsis:

#include <sys/iofunc.h>

void iofunc_lock_free( iofunc_lock_list_t* lock,
                       size_t size );

Arguments:

lock
A pointer to the iofunc_lock_list_t list that you want to free.
size
The amount of memory that you want to free.

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

The function iofunc_lock_free() frees lock structures allocated by iofunc_lock_calloc().

Classification:

QNX Neutrino

Safety:
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Yes

See also:

iofunc_lock(), iofunc_lock_calloc()

Writing a Resource Manager