Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Barrier executes a function in the completion step #16

Open
planetis-m opened this issue Jul 12, 2021 · 3 comments
Open

Barrier executes a function in the completion step #16

planetis-m opened this issue Jul 12, 2021 · 3 comments

Comments

@planetis-m
Copy link
Owner

wait needs to become a template

@planetis-m
Copy link
Owner Author

planetis-m commented Jul 15, 2021

Rust's instead provides a "is_leader" fn, to mark the first thread that enters the barrier in the next cycle instead. How's that guaranteed I have no clue. (especially since our implementations are identical)

@planetis-m
Copy link
Owner Author

It probably is actually, but judging from the search results, it's pretty useless and not what we try to offer.

@planetis-m
Copy link
Owner Author

template or a .nimcall, will decide once I have success using it in my own project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant