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

Implement N4392: C++ Latches and Barriers #1457

Closed
hkaiser opened this issue Apr 14, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@sithhell

This comment has been minimized.

Copy link
Member

commented Apr 27, 2015

latch has been implemented by merging #1476.

@hkaiser hkaiser modified the milestones: 0.9.11, 0.9.12 Nov 12, 2015

@hkaiser

This comment has been minimized.

Copy link
Member Author

commented Nov 19, 2015

It looks like that we can't implement barriers as specified by the Concurrency TS (recent version: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0159r0.html). The TS specifies a barrier as "a thread coordination mechanism that allow a set of participating threads to block until an operation is completed". A barrier relies on being (repeatedly) invoked by the same threads. In HPX this is not possible as (especially in the remote case) new threads are constantly created. For this reason the barrier functionality can only be approximated in HPX.

@hkaiser hkaiser closed this Nov 19, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.