GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||
GeezerVison is showing gilzoide.github.io — Dispatch Queue: src/dispatch_queue.cpp Source File
Loading...
Searching...
No Matches
dispatch_queue.cpp
Go to the documentation of this file.
1#include "../include/dispatch_queue.hpp"
2
4
8
11{
12}
13
17
21
23 if (worker_pool) {
24 return worker_pool->thread_count();
25 }
26 else {
27 return 0;
28 }
29}
30
32 if (worker_pool) {
33 return worker_pool->size();
34 }
35 else {
36 return 0;
37 }
38}
39
43
49
51 auto main_loop_tasks = worker_pool
52 ? worker_pool->pop_main_loop_tasks()
53 : task_queue.pop_main_loop_tasks();
54 for (auto&& it : main_loop_tasks) {
55 it();
56 }
57}
58
64
69
70} // end namespace dispatch_queue
int thread_count() const Definition dispatch_queue.cpp:22 Definition dispatch_queue.hpp:19
| ||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |