MCPcopy Create free account
hub / github.com/acl-dev/acl / run

Method run

lib_acl_cpp/src/stdlib/thread_pool.cpp:88–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88bool thread_pool::run(thread_job* job)
89{
90 if (job == NULL) {
91 logger_error("thr null!");
92 return false;
93 }
94
95 if (thr_pool_ == NULL) {
96 logger_error("start() not called yet!");
97 return false;
98 }
99
100 acl_pthread_pool_add(thr_pool_, thread_run, job);
101 return true;
102}
103
104bool thread_pool::execute(thread_job* job)
105{

Callers 2

thread_runMethod · 0.45
thread_runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected