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

Method add

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

Source from the content-addressed store, hash-verified

622 }
623
624 void counter_t::add(uint32_t count)
625 {
626 if(!state)
627 return;
628 state->count += count;
629 if(state->inverse)
630 {
631 SMutexLock guard(state->mutex);
632 state->cv.notify();
633 }
634 }
635
636 bool counter_t::decrease()
637 {

Callers 15

main_module_execMethod · 0.45
open_projectsFunction · 0.45
AddFileDependencyMethod · 0.45
AddRuntimeDependencyMethod · 0.45
AddStaticDependencyMethod · 0.45
ParallelForEachAssetMethod · 0.45
AddCookTaskMethod · 0.45
CookMethod · 0.45
cartesian_variantsFunction · 0.45
CookMethod · 0.45
CompileMethod · 0.45

Calls 1

notifyMethod · 0.45

Tested by

no test coverage detected