Skip to content

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

Closed
@timsong-cpp

Description

@timsong-cpp
Contributor

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

Activity

jensmaurer

jensmaurer commented on Oct 6, 2017

@jensmaurer
Member

Let's remove that note, then.

self-assigned this
on Oct 6, 2017
added a commit that references this issue on Oct 6, 2017
f4ca343
added a commit that references this issue on Oct 15, 2017
d6a3234
added a commit that references this issue on Nov 15, 2017
c490e7e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @timsong-cpp@jensmaurer

      Issue actions

        [thread.condition.condvarany]/9 is incorrect · Issue #1755 · cplusplus/draft