CK_EPOCH_END(3)
β¨ ck_epoch_end β¨
okay bestie, welcome to ck_epoch_end from the CK_EPOCH_END(3) manual page π this one is short and sweet and it's giving "the final bow after the main character moment." let's get into it π
π LIBRARY
Concurrency Kit β that's libck, and you link it with -lck. yes, that's the whole vibe. π¦
πΈ SYNOPSIS
#include <ck_epoch.h>
void
ck_epoch_end(ck_epoch_record_t *record, ck_epoch_section_t *section);
look at that signature, so clean, so demure π«Ά
π DESCRIPTION
so here's the tea β the ck_epoch_end(3) function marks the end of an epoch-protected code section. that's it. that's the job. you opened a protected section, and now you're closing it, like shutting the door behind you on your way out πͺβ¨
and listen β section has to point to a section object that was initialized previously with ck_epoch_begin(3). like, you can't just show up with an uninitialized section and expect it to slay. that's not how any of this works, bestie π
no cap, the pairing here isck_epoch_begin(3)β‘οΈck_epoch_end(3). they're a duo. a duo! do not separate them π
π RETURN VALUES
literally nothing. it returns void. no value, no drama, no receipt. you get closure and that's it π
π ERRORS
here's the part where you have to have done your homework first: the object pointed to by record must have been previously registered via ck_epoch_register(3).
like... if you skipped that step, that's on you, and it's not cute. register first, then end. in that order. periodt π
π SEE ALSO
the whole friend group, go read them all, i'm obsessed:
ck_epoch_init(3)ck_epoch_register(3)ck_epoch_unregister(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)
and for the girlies who want the full lore, additional information is available at http://concurrencykit.org/ πβ
k bye!! this page was dated September 2, 2012, and it's part of the Concurrency Kit docs β CK_EPOCH_END(3) forever π mwah π«Ά
π¦ 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