|
NAME
LIBRARYConcurrency Kit (libck, -lck) SYNOPSIS
DESCRIPTIONThe user must use this macro to declare instances of lock types
that they have defined using the
CK_RWCOHORT_PROTOTYPE(3) macro. The cohort_name must be the
same as the one used in the prototype macro. For instance, if
CK_RWCOHORT_PROTOTYPE was called with the name "foo", the
CK_RWCOHORT_INSTANCE macro should be called as
This macro should also be used when allocating memory for cohorts.
For instance, to allocate a block of 4 cohorts:
SEE ALSOck_rwcohort(3), CK_RWCOHORT_PROTOTYPE(3), CK_RWCOHORT_TRYLOCK_PROTOTYPE(3), CK_RWCOHORT_INSTANCE(3), CK_RWCOHORT_INITIALIZER(3), CK_RWCOHORT_LOCK(3), CK_RWCOHORT_UNLOCK(3), CK_RWCOHORT_LOCKED(3), CK_RWCOHORT_TRYLOCK(3), Additional information available at http://concurrencykit.org/
|