MCPcopy Create free account
hub / github.com/ddnet/ddnet / Wait

Method Wait

src/engine/shared/http.cpp:531–538  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

529}
530
531void CHttpRequest::Wait()
532{
533 std::unique_lock Lock(m_WaitMutex);
534 m_WaitCondition.wait(Lock, [this]() {
535 EHttpState State = m_State.load(std::memory_order_seq_cst);
536 return State != EHttpState::QUEUED && State != EHttpState::RUNNING;
537 });
538}
539
540void CHttpRequest::Result(unsigned char **ppResult, size_t *pResultLength) const
541{

Callers 5

RunMethod · 0.45
RunMethod · 0.45
RunMethod · 0.45
ProcessQueriesMethod · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36