Title
packaged_task::make_ready_at_thread_exit has no synchronization requirements
Status
resolved
Section
[futures.task.members]
Submitter
INCITS

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

Messages

Date: 2011-05-21.21:15:19

Proposed resolution:

Resolved 2011-03 Madrid meeting by paper N3278

Date: 2011-06-02.15:28:39

Proposed resolution:

Resolved 2011-03 Madrid meeting by paper N3278

Date: 2011-02-22.00:00:00

[ 2011-02-22 Reflector discussion ]

Moved to Tentatively Ready after 5 votes.

Proposed Resolution

Add a new paragraph following [futures.task.members] p. 19:

void make_ready_at_thread_exit(ArgTypes... args);

19 - ...

?? - Synchronization: Following a successful call to make_ready_at_thread_exit, the destruction of all objects with thread storage duration associated with the current thread happens before the associated asynchronous state is made ready. The marking of the associated asynchronous state as ready synchronizes with ([intro.multithread]) the successful return from any function that detects that the state is set to ready.

Date: 2011-02-19.00:00:00

[ 2011-02-19 Additional edits by Hans, shown in the proposed resolution section ]

Date: 2011-02-09.00:00:00

[ 2011-02-09 Anthony provides a proposed resolution ]

Date: 2010-10-24.10:50:39

[ Resolution proposed by ballot comment: ]

Figure out what the synchronization requirements should be and write them.

Date: 2010-10-24.03:04:13

Addresses US-208

packaged_task::make_ready_at_thread_exit has no synchronization requirements.

History
Date User Action Args
2011-03-24 21:43:06adminsetmessages: + msg5705
2011-03-24 21:43:06adminsetstatus: voting -> resolved
2011-03-05 15:24:28adminsetstatus: ready -> voting
2011-02-22 21:15:58adminsetmessages: + msg5528
2011-02-22 21:15:58adminsetstatus: open -> ready
2011-02-18 23:53:38adminsetmessages: + msg5512
2011-02-17 19:05:48adminsetmessages: + msg5503
2011-02-17 19:05:48adminsetmessages: + msg5502
2010-10-24 10:50:39adminsetmessages: + msg5019
2010-10-24 03:04:13adminsetmessages: + msg4973
2010-08-25 00:00:00admincreate