Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
NAME
     CK_RWCOHORT_WRITE_LOCK  --  acquite write access for a cohort-based reader-
     writer lock

LIBRARY
     Concurrency Kit (libck, -lck)

SYNOPSIS
     #include <ck_cohort.h>

     CK_RWCOHORT_NEUTRAL_WRITE_LOCK(COHORT_NAME cohort_name, LOCK *lock,
	 COHORT *cohort"void *global_context, void *local_context);

     CK_RWCOHORT_RP_WRITE_LOCK(COHORT_NAME cohort_name, LOCK *lock,
	 COHORT *cohort"void *global_context, void *local_context);

     CK_RWCOHORT_WP_WRITE_LOCK(COHORT_NAME cohort_name, LOCK *lock,
	 COHORT *cohort"void *global_context, void *local_context);

DESCRIPTION
     This call will acquire write permission for lock.	The call will block  un-
     til this permission has been acquired.  cohort must point to a cohort whose
     global  lock  is  the  same  as  all  other  cohorts  used  with lock.  The
     global_context and local_context arguments will be passed along as the con-
     text arguments to any calls to cohort.

SEE ALSO
     ck_cohort(3), CK_RWCOHORT_PROTOTYPE(3),  CK_RWCOHORT_INSTANCE(3),	CK_RWCO-
     HORT_INITIALIZER(3),  CK_RWCOHORT_INIT(3), CK_RWCOHORT_READ_LOCK(3), CK_RW-
     COHORT_READ_UNLOCK(3), CK_RWCOHORT_WRITE_UNLOCK(3),

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

			       February 24, 2013.      CK_RWCOHORT_WRITE_LOCK(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=CK_RWCOHORT_WRITE_LOCK&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help