|
|
|
@ -49,15 +49,14 @@ Note: the wait_limit argument should be omitted for locks using the neutral stra
|
|
|
|
|
"void *global_context" "void *local_context"
|
|
|
|
|
.Fn CK_RWCOHORT_STRATEGY_WRITE_UNLOCK "COHORT_NAME cohort_name" "RWCOHORT lock" "COHORT cohort" \
|
|
|
|
|
"void *global_context" "void *local_context"
|
|
|
|
|
|
|
|
|
|
.Pp
|
|
|
|
|
Arguments of type RWCOHORT must be pointers to structs defined using the
|
|
|
|
|
.Xr CK_RWCOHORT_STRATEGY_PROTOTYPE 3
|
|
|
|
|
macro with the same strategy and cohort name as the current call.
|
|
|
|
|
|
|
|
|
|
.Pp
|
|
|
|
|
Arguments of type COHORT must be pointers to structs defined using the
|
|
|
|
|
.Xr CK_COHORT_PROTOTYPE 3
|
|
|
|
|
macro.
|
|
|
|
|
|
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
|
ck_rwcohort.h provides an interface for defining reader-writer locks
|
|
|
|
|
that use cohort locks internally to increase performance on NUMA
|
|
|
|
|