Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
|
- #pragma once
-
- #include <ecs/config.h>
- #include <moodycamel/blockingconcurrentqueue.h>
-
- #include "../fixed_function.h"
-
- namespace ecs {
- namespace core {
- namespace utils {
-
- /**
- * Functor to execute as task inside the thread pool. The functor can have a max size of 128 bytes!
- */
- using task = fixed_function<void(), 128>;
-
- /**
- * non blocking concurrent queue to store thread pool tasks in
- */
- using task_queue = moodycamel::BlockingConcurrentQueue<task>;
-
- } } }
|