Take in account the deferred and ready futures in when_any.
Take in account this deferred and ready futures in when_any.
- Each of the futures supplied to when_any is checked in the order supplied. If a given future is ready, then no further futures are checked, and the call to when_any returns immediately. If a given future refers to a deferred task that has not yet started execution, then no further futures are checked, that task is executed, and the call to when_any then returns immediately.
Change History
(6)
Owner: |
changed from Anthony Williams to viboes
|
Status: |
new → assigned
|
Type: |
Feature Requests → Bugs
|
Milestone: |
To Be Determined → Boost 1.57.0
|
Summary: |
Take in account this deferred and ready futures in when_any. → Take in account the deferred and ready futures in when_any.
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Set as Bug as otherwise this is not an optimization.