MCPcopy Create free account
hub / github.com/dmlc/dmlc-core / try_wait

Method try_wait

include/dmlc/blockingconcurrentqueue.h:96–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 }
95
96 bool try_wait()
97 {
98 const unsigned long RC_WAIT_TIMEOUT = 0x00000102;
99 return WaitForSingleObject(m_hSema, 0) != RC_WAIT_TIMEOUT;
100 }
101
102 bool timed_wait(std::uint64_t usecs)
103 {

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected