Title
Need a way to join a thread with a timeout
Status
lewg
Section
[thread.thread.class]
Submitter
INCITS

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

Messages

Date: 2017-03-15.00:00:00

[ 2017-03-01, Kona ]

SG1 recommends: Close as NAD

There has not been much demand for it, and it would usually be difficult to deal with thread_local destructor races. It can be approximated with a condition variable wait followed by an unconditional join. Adding it would create implementation issues on Posix. As always, this may be revisited if we have a paper exploring the issues in detail.

Date: 2010-11-29.00:35:20

[ 2010 Batavia ]

The concurrency working group deemed this an extension beyond the scope of C++0x.

The LWG does not wish to make a change at this time.

Date: 2010-11-01.19:24:04

[ Resolution proposed by ballot comment: ]

Add join_for and join_until. Or decide one should never join a thread with a timeout since pthread_join doesn't have a timeout version.

Date: 2010-10-24.16:08:33

Addresses US-183

There is no way to join a thread with a timeout.

History
Date User Action Args
2017-03-01 18:09:34adminsetmessages: + msg9026
2014-11-24 15:11:58adminsetstatus: nad future -> lewg
2010-11-18 00:17:44adminsetmessages: + msg5377
2010-11-18 00:17:44adminsetstatus: open -> nad future
2010-11-01 19:24:04adminsetmessages: + msg5241
2010-10-24 16:08:33adminsetmessages: + msg5025
2010-08-25 00:00:00admincreate