CK_RWCOHORT_PROTOTYPE man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

CK_RWCOHORT_PROTOTYPE(3) BSD Library Functions Manual CK_RWCOHORT_PROTOTYPE(3)

NAME
     CK_RWCOHORT_PROTOTYPE — define reader-writer cohort-based lock using the
     specified cohort type

LIBRARY
     Concurrency Kit (libck, -lck)

SYNOPSIS
     #include <ck_rwcohort.h>

     CK_RWCOHORT_NEUTRAL_PROTOTYPE(COHORT_NAME cohort_name);

     CK_RWCOHORT_RP_PROTOTYPE(COHORT_NAME cohort_name);

     CK_RWCOHORT_WP_PROTOTYPE(COHORT_NAME cohort_name);

DESCRIPTION
     The ck_rwcohort.h header file does not define any cohort types.  Instead,
     the user must use the CK_RWCOHORT_PROTOTYPE macro to define any types
     they want to use.	This macro takes a single argument which corresponds
     to the type of the cohort lock that the reader-writer lock should use.  A
     cohort type must have already been defined with that name using the
     CK_COHORT_PROTOTYPE(3) or CK_COHORT_TRYLOCK_PROTOTYPE(3) macros.

     Instances of the defined lock type can be declared as:
	 CK_RWCOHORT_INSTANCE(cohort_name) lock;

SEE ALSO
     ck_rwcohort(3), CK_COHORT_PROTOTYPE(3), CK_COHORT_TRYLOCK_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), CK_RWCOHORT_WRITE_UNLOCK(3),

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

			      February 24, 2013.
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net