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

Method pop

lib_acl_cpp/src/stdlib/thread_queue.cpp:29–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29thread_qitem* thread_queue::pop(int wait_ms /* = -1 */)
30{
31 int wait_sec = wait_ms / 1000;
32 int wait_usec = (wait_ms % 1000) * 1000;
33 return (thread_qitem*) acl_aqueue_pop_timedwait(
34 queue_, wait_sec, wait_usec);
35}
36
37int thread_queue::qlen() const
38{

Callers 2

wait_for_runningMethod · 0.45
thread_runMethod · 0.45

Calls 1

acl_aqueue_pop_timedwaitFunction · 0.85

Tested by

no test coverage detected