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.

22 rindas
493 B

  1. #pragma once
  2. #include <ecs/config.h>
  3. #include <moodycamel/blockingconcurrentqueue.h>
  4. #include "../fixed_function.h"
  5. namespace ecs {
  6. namespace core {
  7. namespace utils {
  8. /**
  9. * Functor to execute as task inside the thread pool. The functor can have a max size of 128 bytes!
  10. */
  11. using task = fixed_function<void(), 128>;
  12. /**
  13. * non blocking concurrent queue to store thread pool tasks in
  14. */
  15. using task_queue = moodycamel::BlockingConcurrentQueue<task>;
  16. } } }