Title
Various threading bugs #15
Status
c++11
Section
[thread.condition.condvar]
Submitter
Pete Becker

Created on 2009-01-07.00:00:00 last changed 162 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

Change [thread.condition.condvar] p3:

  • ...
  • device_or_resource_busy -- if attempting to initialize a previously-initialized but as of yet undestroyed condition_variable.
Date: 2010-10-21.18:28:33

[ Batavia (2009-05): ]

We agree with the proposed resolution. Move to Tentatively Ready.

Date: 2010-10-21.18:28:33

[ Summit: ]

Move to review. Proposed resolution: strike the device_or_resource_busy error condition from the constructor of condition_variable.

  • This is a POSIX error that cannot occur in this interface because the C++ interface does not separate declaration from initialization.
Date: 2009-01-07.00:00:00

[thread.condition.condvar]: the constructor for condition_variable throws an exception with error code device_or_resource_busy "if attempting to initialize a previously-initialized but as of yet undestroyed condition_variable." How can this occur?

History
Date User Action Args
2011-08-23 20:07:26adminsetstatus: wp -> c++11
2010-10-21 18:28:33adminsetmessages: + msg4599
2010-10-21 18:28:33adminsetmessages: + msg4598
2010-10-21 18:28:33adminsetmessages: + msg4597
2009-01-07 00:00:00admincreate