MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / try_dequeue

Method try_dequeue

modules/core/core/src/core/log/log_worker.cpp:103–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103bool LogQueue::try_dequeue(LogElement& element) SKR_NOEXCEPT
104{
105 if (queue_.try_dequeue(ctok_, element))
106 {
107 return true;
108 }
109 return false;
110}
111
112bool LogQueue::try_dequeue_from(ThreadToken* tok, LogElement& element) SKR_NOEXCEPT
113{

Callers 15

popMethod · 0.45
stealMethod · 0.45
process_logsMethod · 0.45
StatusEventArrayClass · 0.45
poll_processed_batchMethod · 0.45
addRAMRequestsMethod · 0.45
enqueueAndSubmitMethod · 0.45
poll_processed_batchMethod · 0.45
poll_processed_batchMethod · 0.45
poll_finish_callbacksMethod · 0.45
dispatchMethod · 0.45
dispatchMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected