This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of Resolved status.
try_lock
does not guarantee forward progressSection: 32.6.4 [thread.mutex.requirements] Status: Resolved Submitter: INCITS Opened: 2010-08-25 Last modified: 2016-01-28
Priority: Not Prioritized
View other active issues in [thread.mutex.requirements].
View all other issues in [thread.mutex.requirements].
View all issues with Resolved status.
Discussion:
Addresses US-186
try_lock
does not provide a guarantee of forward progress
because it is allowed to spuriously fail.
[ Resolution proposed by ballot comment: ]
The standard mutex types must not fail spuriously in
try_lock
. See n3141 page 205 - Appendix 1 - Additional Details
[ 2010-11-01 Daniel comments: ]
Paper n3152 addresses this issue.
Proposed resolution:
Resolved by n3209.