GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
CK_RWCOHORT_READ_LOCK(3) FreeBSD Library Functions Manual CK_RWCOHORT_READ_LOCK(3)

CK_RWCOHORT_READ_LOCK
acquire read-only permission for cohort-based reader-writer lock

Concurrency Kit (libck, -lck)

#include <ck_cohort.h>

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

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

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

This call will acquire read-only permission from lock. The call will block until 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 context arguments to any calls to cohort.

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

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

February 24, 2013.

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.