1CK_RWCOHORT_WRITE_LOC... BSD Library Functions Manual CK_RWCOHORT_WRITE_LOC...
2

NAME

4     CK_RWCOHORT_WRITE_LOCK — acquite write access for a cohort-based reader-
5     writer lock
6

LIBRARY

8     Concurrency Kit (libck, -lck)
9

SYNOPSIS

11     #include <ck_cohort.h>
12
13     CK_RWCOHORT_NEUTRAL_WRITE_LOCK(COHORT_NAME cohort_name, LOCK *lock,
14         COHORT *cohort"void *global_context, void *local_context);
15
16     CK_RWCOHORT_RP_WRITE_LOCK(COHORT_NAME cohort_name, LOCK *lock,
17         COHORT *cohort"void *global_context, void *local_context);
18
19     CK_RWCOHORT_WP_WRITE_LOCK(COHORT_NAME cohort_name, LOCK *lock,
20         COHORT *cohort"void *global_context, void *local_context);
21

DESCRIPTION

23     This call will acquire write permission for lock.  The call will block
24     until this permission has been acquired.  cohort must point to a cohort
25     whose global lock is the same as all other cohorts used with lock.  The
26     global_context and local_context arguments will be passed along as the
27     context arguments to any calls to cohort.
28

SEE ALSO

30     ck_cohort(3), CK_RWCOHORT_PROTOTYPE(3), CK_RWCOHORT_INSTANCE(3),
31     CK_RWCOHORT_INITIALIZER(3), CK_RWCOHORT_INIT(3),
32     CK_RWCOHORT_READ_LOCK(3), CK_RWCOHORT_READ_UNLOCK(3),
33     CK_RWCOHORT_WRITE_UNLOCK(3),
34
35     Additional information available at http://concurrencykit.org/
36
37                              February 24, 2013.
Impressum