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

[thread.condition.condvarany]/9 is incorrect #1755

Closed
timsong-cpp opened this issue Sep 25, 2017 · 1 comment
Closed

[thread.condition.condvarany]/9 is incorrect #1755

timsong-cpp opened this issue Sep 25, 2017 · 1 comment
Assignees

Comments

@timsong-cpp
Copy link
Contributor

timsong-cpp commented Sep 25, 2017

[ Note: If any of the wait functions exits via an exception, it is unspecified whether the Lock is held. One can use a Lock type that allows to query that, such as the unique_­lock wrapper. — end note ]

This is not correct after LWG 2135 specified that terminate() is called if the function fails to meet the postcondition (the lock is held by the calling thread).

@jensmaurer
Copy link
Member

Let's remove that note, then.

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

2 participants