Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add guard against invocables returning booleans
The guard prevents the use of invocables returning bool in the bulk_async_execute method of the explicit_scheduler_executor to avoid data races. Using such invocables can cause issues because std::vector<return type of the invocable> may be simultaneously written to by multiple threads, which is problematic with std::vector<bool> due to its space optimizations.
- Loading branch information