CK_COHORT_LOCK (3) - Linux Manuals

CK_COHORT_LOCK: acquire cohort lock

NAME

CK_COHORT_LOCK - acquire cohort lock

LIBRARY

Concurrency Kit (libck, -lck)

SYNOPSIS

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

DESCRIPTION

This call attempts to acquire both the local and global (if necessary) locks from Fa cohort . The call will block until both locks have been acquired. 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_UNLOCK3, CK_COHORT_LOCKED3, CK_COHORT_TRYLOCK3,

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