Title
Mutex requirements too stringent
Status
resolved
Section
[thread.mutex.requirements]
Submitter
Switzerland

Created on 2010-08-25.00:00:00 last changed 170 months ago

Messages

Date: 2011-05-21.21:15:19

Proposed resolution:

Resolved by n3197.

Date: 2010-11-01.00:00:00

[ 2010-11-01 Daniel comments: ]

Accepting n3130 would solve this issue.

Date: 2010-11-01.20:35:33

[ Resolution proposed by ballot comment: ]

delete p18, adjust 30.4.4 p1 and p4 accordingly

Date: 2010-10-24.16:08:33

Addresses CH-27

The mutex requirements force try_lock to be noexcept(true). However, where they are used by the generic algorithms, those relax this requirement and say that try_lock may throw. This means the requirement is too stringent, also a non-throwing try_lock does not allow for a diagnostic such as system_error that lock() will give us.

History
Date User Action Args
2010-11-18 14:01:09adminsetstatus: nad editorial -> resolved
2010-11-11 19:19:17adminsetstatus: open -> nad editorial
2010-11-01 20:35:33adminsetmessages: + msg5250
2010-11-01 20:35:33adminsetmessages: + msg5249
2010-11-01 20:35:33adminsetmessages: + msg5248
2010-10-24 16:08:33adminsetmessages: + msg5031
2010-08-25 00:00:00admincreate