![]() |
![]()
| ![]() |
![]()
NAME
LIBRARYConcurrency Kit (libck, -lck) SYNOPSIS
DESCRIPTIONThe user must use this macro to declare instances of cohort types
that they have defined. For instance, if they have used the
CK_COHORT_PROTOTYPE macro to define a cohort type with name foo, they would
create an instance of this type as follows:
This macro should also be used when allocating memory for cohorts.
For instance, to allocate a block of 4 cohorts:
SEE ALSOck_cohort(3), CK_COHORT_PROTOTYPE(3), CK_COHORT_TRYLOCK_PROTOTYPE(3), CK_COHORT_INSTANCE(3), CK_COHORT_INITIALIZER(3), CK_COHORT_LOCK(3), CK_COHORT_UNLOCK(3), CK_COHORT_LOCKED(3), CK_COHORT_TRYLOCK(3), Additional information available at http://concurrencykit.org/
|