aboutsummaryrefslogtreecommitdiff
path: root/cmake/macros/CheckPlatform.cmake
diff options
context:
space:
mode:
authorNaios <naios-dev@live.de>2015-05-31 18:57:24 +0200
committerNaios <naios-dev@live.de>2015-05-31 19:32:09 +0200
commitda77a90aa98bc6e34c001ca871700cec7c6e5017 (patch)
treeb05d20330476c851cc1e2dcbfeb3c2114d40039c /cmake/macros/CheckPlatform.cmake
parente500cda6a90f1308cfa40e238feb5b0fb70a1852 (diff)
Shared/Util: Introduce a task scheduler which schedules task with c++11 techniques.
* Use std::function as callback (methods, lamdas & std::bind). * Uses std::chrono::duration as duration type (Milliseconds, Seconds...) - With c++11 user defined literals we could just write "11s" for example (MSVS 2015, gcc & clang). * Provides a lot of overloads for easier usage: - Static durations or random durations between min and max. - Named (with group ids - group id 0 is possible) or anonymous tasks. - Asynchronous tasks. * Is adapted to the current needs of scripting: - Repeat tasks through the TaskContext - Schedule new tasks from the context. - Provides access to the times repeat counter of a task, this will help to schedule multi step events (dialogs for example). See https://gist.github.com/Naios/6d143538abdc3d32fd2b for usage examples.
Diffstat (limited to 'cmake/macros/CheckPlatform.cmake')
0 files changed, 0 insertions, 0 deletions