Closed mattmacy closed 8 years ago
Hi,
I just checked the manpages, and beside ck_epoch_poll which was indeed outdated and claimed an extra arg, I see no error, can you be more specific ?
Thanks !
https://reviews.freebsd.org/D6696
Basically any place you see a NULL passed to a ck_epoch function. The two that stand out are ck_epoch_begin and ck_epoch_end. The man pages make no mention of a ck_epoch_section_t that I saw (I may have overlooked it).
They do reference the argument, see http://concurrencykit.org/doc/ck_epoch_begin.html http://concurrencykit.org/doc/ck_epoch_end.html - however, section is incorrectly documented as mandatory. Will point out it isn't mandatory and close.
Thanks.
http://concurrencykit.org/doc/ck_epoch_barrier.html This is the main code example I used as reference. It doesn't use sections.
I didn't look at the ckepoch{begin, end} because they had no usage example.
I see now. I'm sorry for the noise. What is the benefit of the epoch being refreshed on recursion?
Feel a bit sheepish. Will close and just assume that you'll update the epoch_barrier example and clarify the benefit of epoch refresh.
haha, please don't feel sheepish. Thanks for bringing this to our attention.
A number of the ck_epoch functions take an extra argument now. Discovering this at compile time rather than from the man pages is a bit disconcerting.