Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Functions
afw_lock.c File Reference

Lock support. More...

#include "afw_internal.h"

Go to the source code of this file.

Functions

 afw_lock_create_environment_lock (const afw_utf8_t *lock_id, const afw_pool_t *p, afw_xctx_t *xctx)
 
 afw_lock_create_and_register (const afw_utf8_t *lock_id, const afw_utf8_t *brief, const afw_utf8_t *description, afw_boolean_t insure_recursive_lock, afw_xctx_t *xctx)
 Create a lock and register in environment. More...
 
 afw_lock_create (const afw_utf8_t *lock_id, const afw_utf8_t *brief, const afw_utf8_t *description, afw_boolean_t insure_recursive_lock, const afw_pool_t *p, afw_xctx_t *xctx)
 Create a lock that will last for life of pool. More...
 
 afw_lock_create_rw_and_register (const afw_utf8_t *lock_id, const afw_utf8_t *brief, const afw_utf8_t *description, afw_xctx_t *xctx)
 Create a read/write lock and register in environment. More...
 
 afw_lock_create_rw (const afw_utf8_t *lock_id, const afw_utf8_t *brief, const afw_utf8_t *description, const afw_pool_t *p, afw_xctx_t *xctx)
 Create a read/write lock that will last for life of pool. More...
 
 afw_lock_obtain (const afw_lock_t *instance, afw_xctx_t *xctx)
 Obtain lock. More...
 
 afw_lock_obtain_debug (const afw_lock_t *instance, afw_xctx_t *xctx, const afw_utf8_z_t *source_z)
 Debug version of obtain lock. More...
 
 afw_lock_release (const afw_lock_t *instance, afw_xctx_t *xctx)
 Release lock. More...
 
 afw_lock_release_debug (const afw_lock_t *instance, afw_xctx_t *xctx, const afw_utf8_z_t *source_z)
 Debug version of release lock. More...
 
 afw_lock_read_obtain (const afw_lock_rw_t *instance, afw_xctx_t *xctx)
 Obtain read lock. More...
 
 afw_lock_read_obtain_debug (const afw_lock_rw_t *instance, afw_xctx_t *xctx, const afw_utf8_z_t *source_z)
 Debug version of obtain read lock. More...
 
 afw_lock_read_release (const afw_lock_rw_t *instance, afw_xctx_t *xctx)
 Release read lock. More...
 
 afw_lock_read_release_debug (const afw_lock_rw_t *instance, afw_xctx_t *xctx, const afw_utf8_z_t *source_z)
 Debug version of release read lock. More...
 
 afw_lock_write_obtain (const afw_lock_rw_t *instance, afw_xctx_t *xctx)
 Obtain write lock. More...
 
 afw_lock_write_obtain_debug (const afw_lock_rw_t *instance, afw_xctx_t *xctx, const afw_utf8_z_t *source_z)
 Debug version of obtain write lock. More...
 
 afw_lock_write_release (const afw_lock_rw_t *instance, afw_xctx_t *xctx)
 Release write lock. More...
 
 afw_lock_write_release_debug (const afw_lock_rw_t *instance, afw_xctx_t *xctx, const afw_utf8_z_t *source_z)
 Debug version of release write lock. More...
 

Detailed Description

Lock support.

Definition in file afw_lock.c.