Created on 2010-08-25.00:00:00 last changed 166 months ago
Proposed resolution:
Resolved 2011-03 Madrid meeting by paper N3278
Proposed resolution:
Resolved 2011-03 Madrid meeting by paper N3278
[ 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.
[ 2011-02-19 Additional edits by Hans, shown in the proposed resolution section ]
[ 2011-02-09 Anthony provides a proposed resolution ]
[ Resolution proposed by ballot comment: ]
Figure out what the synchronization requirements should be and write them.
Addresses US-208
packaged_task::make_ready_at_thread_exit has no synchronization requirements.
History | |||
---|---|---|---|
Date | User | Action | Args |
2011-03-24 21:43:06 | admin | set | messages: + msg5705 |
2011-03-24 21:43:06 | admin | set | status: voting -> resolved |
2011-03-05 15:24:28 | admin | set | status: ready -> voting |
2011-02-22 21:15:58 | admin | set | messages: + msg5528 |
2011-02-22 21:15:58 | admin | set | status: open -> ready |
2011-02-18 23:53:38 | admin | set | messages: + msg5512 |
2011-02-17 19:05:48 | admin | set | messages: + msg5503 |
2011-02-17 19:05:48 | admin | set | messages: + msg5502 |
2010-10-24 10:50:39 | admin | set | messages: + msg5019 |
2010-10-24 03:04:13 | admin | set | messages: + msg4973 |
2010-08-25 00:00:00 | admin | create |