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

Method wait

modules/core/task/src/task2.cpp:588–593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

586 }
587
588 void condvar_t::wait(SMutex& mutex)
589 {
590 ++numWaitingOnCondition;
591 skr_wait_condition_vars(&cv, &mutex, TIMEOUT_INFINITE);
592 --numWaitingOnCondition;
593 }
594
595 void condvar_t::notify()
596 {

Callers 15

AddStaticDependencyMethod · 0.45
WaitForAllMethod · 0.45
ImportGLTFWithDataFunction · 0.45
waitForWorkMethod · 0.45
runMethod · 0.45
waitFunction · 0.45
waitFunction · 0.45
parallel_forFunction · 0.45
WaitRequestMethod · 0.45
set_main_threadMethod · 0.45
sync_archetypeMethod · 0.45

Calls 1

skr_wait_condition_varsFunction · 0.50

Tested by 5

TestCondVarsMethod · 0.36
TestUnboundedPoolMethod · 0.36
TestTicketMethod · 0.36
TestEventsMethod · 0.36
TestCallsMethod · 0.36