SysTutorials

Linux Manual Pages › Section 3

ck_rwcohort_read_unlock(3)

CK_RWCOHORT_READ_UNLOCK – relinquish read-only access to cohort-based reader-writer lock

Library

Concurrency Kit (libck, -lck)

Synopsis

In ck_cohort.h Fn CK_RWCOHORT_NEUTRAL_READ_UNLOCK COHORT_NAME cohort_name LOCK *lock COHORT *cohortvoid *global_context void *local_context Fn CK_RWCOHORT_RP_READ_UNLOCK COHORT_NAME cohort_name LOCK *lock COHORT *cohortvoid *global_context void *local_context Fn CK_RWCOHORT_WP_READ_UNLOCK COHORT_NAME cohort_name LOCK *lock COHORT *cohortvoid *global_context void *local_context

Description

This call will relinquish read-only permission to Fa lock . Fa cohort must point to a cohort whose global lock is the same as all other cohorts used with Fa lock . The Fa global_context and Fa local_context arguments will be passed along as the context arguments to any calls to Fa cohort .

See Also

ck_cohort3, CK_RWCOHORT_PROTOTYPE3, CK_RWCOHORT_INSTANCE3, CK_RWCOHORT_INITIALIZER3, CK_RWCOHORT_INIT3, CK_RWCOHORT_READ_LOCK3, CK_RWCOHORT_WRITE_LOCK3, CK_RWCOHORT_WRITE_UNLOCK3,

Additional information available at http://concurrencykit.org/