SysTutorials

Linux Manual Pages › Section 3

ck_cohort_unlock(3)

CK_COHORT_UNLOCK – release cohort lock

Library

Concurrency Kit (libck, -lck)

Synopsis

In ck_cohort.h Fn CK_COHORT_UNLOCK COHORT_NAME cohort_name COHORT *cohort void *global_context void *local_context

Description

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

See Also

ck_cohort3, CK_COHORT_PROTOTYPE3, CK_COHORT_TRYLOCK_PROTOTYPE3, CK_COHORT_INSTANCE3, CK_COHORT_INITIALIZER3, CK_COHORT_INIT3, CK_COHORT_LOCK3, CK_COHORT_LOCKED3, CK_COHORT_TRYLOCK3,

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