Title
wait_*() in *future for synchronous functions
Status
resolved
Section
[futures]
Submitter
Detlef Vollmann

Created on 2009-10-22.00:00:00 last changed 170 months ago

Messages

Date: 2010-10-21.18:28:33

Rationale:

Solved by N3058.

Date: 2010-12-05.00:09:22

[ 2010 Pittsburgh: Moved to NAD EditorialResolved. Rationale added below. ]

Date: 2009-10-22.00:00:00

With the addition of async(), a future might be associated with a function that is not running in a different thread but is stored to by run synchronously on the get() call. It's not clear what the wait() functions should do in this case.

Suggested resolution:

Throw an exception.

History
Date User Action Args
2010-12-05 00:09:22adminsetstatus: nad editorial -> resolved
2010-10-21 18:28:33adminsetmessages: + msg1286
2010-10-21 18:28:33adminsetmessages: + msg1285
2009-10-22 00:00:00admincreate