logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

CK_RWCOHORT_WRITE_UNLOCK — relinquish write access for cohort-based reader-writer lock

Description

       This call will relinquish write permission for lock.  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 context arguments to any calls to cohort.

Library

       Concurrency Kit (libck, -lck)

Name

       CK_RWCOHORT_WRITE_UNLOCK — relinquish write access for cohort-based reader-writer lock

See Also

ck_cohort(3),     CK_RWCOHORT_PROTOTYPE(3),     CK_RWCOHORT_INSTANCE(3),      CK_RWCOHORT_INITIALIZER(3),
       CK_RWCOHORT_INIT(3), CK_RWCOHORT_READ_LOCK(3), CK_RWCOHORT_READ_UNLOCK(3), CK_RWCOHORT_WRITE_LOCK(3),

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

                                               February 24, 2013.                    CK_RWCOHORT_WRITE_UNLOCK(3)

Synopsis

#include<ck_cohort.h>CK_RWCOHORT_NEUTRAL_WRITE_UNLOCK(COHORT_NAMEcohort_name,             LOCK*lock,
           COHORT*cohort"void*global_context, void*local_context);

       CK_RWCOHORT_RP_WRITE_UNLOCK(COHORT_NAMEcohort_name, LOCK*lock,  COHORT*cohort"void*global_context,
           void*local_context);

       CK_RWCOHORT_WP_WRITE_UNLOCK(COHORT_NAMEcohort_name,  LOCK*lock,  COHORT*cohort"void*global_context,
           void*local_context);

See Also