1CK_COHORT_UNLOCK(3)      BSD Library Functions Manual      CK_COHORT_UNLOCK(3)
2

NAME

4     CK_COHORT_UNLOCK — release cohort lock
5

LIBRARY

7     Concurrency Kit (libck, -lck)
8

SYNOPSIS

10     #include <ck_cohort.h>
11
12     CK_COHORT_UNLOCK(COHORT_NAME cohort_name, COHORT *cohort,
13         void *global_context, void *local_context);
14

DESCRIPTION

16     This call instructs cohort to relinquish its local lock and potentially
17     its global lock as well.  global_context will be passed as the second
18     argument to the function that was provided as the global_lock_method
19     argument to CK_COHORT_PROTOTYPE if that method is called, and
20     local_context will be passed to the function specified by
21     local_lock_method
22

SEE ALSO

24     ck_cohort(3), CK_COHORT_PROTOTYPE(3), CK_COHORT_TRYLOCK_PROTOTYPE(3),
25     CK_COHORT_INSTANCE(3), CK_COHORT_INITIALIZER(3), CK_COHORT_INIT(3),
26     CK_COHORT_LOCK(3), CK_COHORT_LOCKED(3), CK_COHORT_TRYLOCK(3),
27
28     Additional information available at http://concurrencykit.org/
29
30                              February 24, 2013.
Impressum