CK_EPOCH_UNREGISTER(3)
π ck_epoch_unregister β bestie, it's time to clock out π
okay so this is ck_epoch_unregister(3), a page from the Concurrency Kit manual, and it's literally the "you're done here, go home" button for epoch reclamation. no cap. β¨
πΈ LIBRARY πΈ
Concurrency Kit β that's libck, and you link it with -lck. π«Ά
β¨ SYNOPSIS β¨
#include <ck_epoch.h>
void
ck_epoch_unregister(ck_epoch_record_t *record);
π DESCRIPTION π
okay so the way that ck_epoch_unregister(3) works is: it lets the record that record points to be handed back out as a return value by ck_epoch_recycle(3). so basically you're putting your record back on the shelf so another thread of execution can come along and use it. main character energy for your record, honestly. π
π¨ warning bestie, dead serious: behavior is undefined if the object pointed to byrecordgets modified in any way β and yes, that includes even after you've already calledck_epoch_unregister(3). so hands off. don't touch it. don't look at it. it's not yours anymore. π
π¦ RETURN VALUES π¦
this function has no return value. it just does the thing and dips. π
π SEE ALSO π
ck_epoch_init(3)ck_epoch_register(3)ck_epoch_recycle(3)ck_epoch_poll(3)ck_epoch_synchronize(3)ck_epoch_reclaim(3)ck_epoch_barrier(3)ck_epoch_call(3)ck_epoch_begin(3)ck_epoch_end(3)
Additional information available at http://concurrencykit.org/ β go peek, it's giving resources. π
and that's the whole page, bestie!! this one's dated September 2, 2012 and comes to you from Concurrency Kit β yeah she's an oldie but she's still iconic, periodt. now go unregister that record and live your truth. πβ¨ππ¦
π¦ 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 2012-2013 Samy Al Bahra
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms