Code Monkey home page Code Monkey logo

Comments (8)

cognet avatar cognet commented on August 24, 2024

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 !

from ck.

mattmacy avatar mattmacy commented on August 24, 2024

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).

from ck.

sbahra avatar sbahra commented on August 24, 2024

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.

from ck.

mattmacy avatar mattmacy commented on August 24, 2024

http://concurrencykit.org/doc/ck_epoch_barrier.html
This is the main code example I used as reference. It doesn't use sections.

from ck.

mattmacy avatar mattmacy commented on August 24, 2024

I didn't look at the ck_epoch_{begin, end} because they had no usage example.

from ck.

mattmacy avatar mattmacy commented on August 24, 2024

I see now. I'm sorry for the noise. What is the benefit of the epoch being refreshed on recursion?

from ck.

mattmacy avatar mattmacy commented on August 24, 2024

Feel a bit sheepish. Will close and just assume that you'll update the epoch_barrier example and clarify the benefit of epoch refresh.

from ck.

sbahra avatar sbahra commented on August 24, 2024

haha, please don't feel sheepish. Thanks for bringing this to our attention.

from ck.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.