wraitii
1b35d36daa
Tasks are simple callables (e.g. lambdas), and can be pushed with 2 priority levels. Pushing a task returns a future. Futures can be waited on, can return results, and can be cancelled deterministically. Futures can also not be waited on. This gives 'hardware concurrency - 1' threads to maximize CPU usage in a work-stealing workflow. Reviewed by: vladislavbelov Refs #5874 Differential Revision: https://code.wildfiregames.com/D3848 This was SVN commit r25656. |
||
---|---|---|
.. | ||
stub_impl_hack.h | ||
test_CColor.h | ||
test_CLogger.h | ||
test_ConfigDB.h | ||
test_CStr.h | ||
test_fmt.h | ||
test_Future.h | ||
test_Hashing.h | ||
test_Hotkeys.h | ||
test_Mod.h | ||
test_ModIo.h | ||
test_TaskManager.h | ||
test_test.h |