CK_RWCOHORT_READ_UNLOCK(3)
π CK_RWCOHORT_READ_UNLOCK(3) β bestie edition β¨
okay so you're holding a read lock on a cohort-based reader-writer lock and you wanna let it go?? say less, this is literally the page for you. it's CK_RWCOHORT_READ_UNLOCK(3), from the Concurrency Kit squad π«Ά
πΈ NAME πΈ
CK_RWCOHORT_READ_UNLOCK β the call that relinquishes read-only access to a cohort-based reader-writer lock. giving "i'm done reading, u can have the vibes back" energy πβ‘οΈπ
π LIBRARY π
Concurrency Kit (libck, -lck). yeah you gotta link it, no cap. -lck bestie, don't forget it π
β¨ SYNOPSIS β¨
#include <ck_cohort.h>
CK_RWCOHORT_NEUTRAL_READ_UNLOCK(COHORT_NAME cohort_name, LOCK *lock,
COHORT *cohort"void *global_context, void *local_context);
CK_RWCOHORT_RP_READ_UNLOCK(COHORT_NAME cohort_name, LOCK *lock,
COHORT *cohort"void *global_context, void *local_context);
CK_RWCOHORT_WP_READ_UNLOCK(COHORT_NAME cohort_name, LOCK *lock,
COHORT *cohort"void *global_context, void *local_context);
π not me staring at that stray " β yes bestie i copied it character for character because that's the rule and i do not break the rules. keep it exactly like that. periodt.
π DESCRIPTION π
so like, this call will relinquish read-only permission to lock. π
cohort must point to a cohort whose global lock is the same as all other cohorts used with lock. that part is not optional, it's giving "the friend group has to be the same friend group" fr fr. π
the global_context and local_context arguments will be passed along as the context arguments to any calls to cohort. so they're not just decorative, they get handed off, iykyk π¦
π 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_WRITE_LOCK(3)CK_RWCOHORT_WRITE_UNLOCK(3)
Additional information available at http://concurrencykit.org/ π
and that's the whole page bestie!! πβ¨π this icon was last touched on February 24, 2013, and it lives its life as CK_RWCOHORT_READ_UNLOCK(3) in the Concurrency Kit collection. go unlock something, you ate π«Άπ
π¦ where this page comes from
- alpine 3.24: ck-doc 0.7.2-r1 Β· BSD-2-Clause AND Apache-2.0
- debian bookworm: libck-dev 0.7.1-10 Β· BSD-2-Clause
- debian trixie: libck-dev 0.7.2-6 Β· BSD-2-Clause
- epel 10: ck-devel 0.7.2-1.el10_1 Β· BSD-2-clause AND Apache-2.0 AND BSD-3-clause
- epel 9: ck-devel 0.7.0-10.el9 Β· BSD
- fedora 43: ck-devel 0.7.2-2.fc43 Β· BSD-2-clause AND Apache-2.0 AND BSD-3-clause
- fedora 43: ck-devel 0.7.2-2.fc43 Β· BSD-2-clause AND Apache-2.0 AND BSD-3-clause
- fedora 44: ck-devel 0.7.2-4.fc44 Β· BSD-2-clause AND Apache-2.0 AND BSD-3-clause
- fedora 44: ck-devel 0.7.2-4.fc44 Β· BSD-2-clause AND Apache-2.0 AND BSD-3-clause
- nixos 26.05: ck 0.7.2
- nixpkgs unstable: ck 0.7.2
- opensuse-leap 16.0: ck-devel 0.7.2-bp160.1.9 Β· Apache-2.0 AND BSD-2-Clause
- opensuse-leap 16.0: ck-devel 0.7.2-bp160.1.9 Β· Apache-2.0 AND BSD-2-Clause
- opensuse-leap 16.0: ck-devel 0.7.2-bp160.1.9 Β· Apache-2.0 AND BSD-2-Clause
- ubuntu jammy: libck-dev 0.7.1-6ubuntu2 Β· BSD-2-Clause
- ubuntu noble: libck-dev 0.7.1-13build1 Β· BSD-2-Clause
- ubuntu questing: libck-dev 0.7.2-5ubuntu1
- ubuntu resolute: libck-dev 0.7.2-5ubuntu2 Β· BSD-2-Clause
- ubuntu stonking: libck-dev 0.7.2-11 Β· BSD-2-Clause
- Copyright 2013 Brendon Scheinman
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms