CK_RWCOHORT_WRITE_LOCK(3) acquite write access for a cohort-based reader-writer lock

LIBRARY

Concurrency Kit (libck, -lck)

SYNOPSIS

In ck_cohort.h Fn CK_RWCOHORT_NEUTRAL_WRITE_LOCK COHORT_NAME cohort_name LOCK *lock COHORT *cohortvoid *global_context void *local_context Fn CK_RWCOHORT_RP_WRITE_LOCK COHORT_NAME cohort_name LOCK *lock COHORT *cohortvoid *global_context void *local_context Fn CK_RWCOHORT_WP_WRITE_LOCK COHORT_NAME cohort_name LOCK *lock COHORT *cohortvoid *global_context void *local_context

DESCRIPTION

This call will acquire write permission for Fa lock . The call will block until this permission has been acquired. 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 .