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

Method numItems

modules/core/core/src/async/job.cpp:131–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129 }
130
131 uint64_t numItems()
132 {
133 cond->lock();
134 const auto num = list_runnable.size() + list_consumed.size();
135 cond->unlock();
136 return num;
137 }
138
139 SAtomic32 waiting_workers_count = 0;
140 skr::String name = u8"JobItemQueue";

Callers 1

items_countMethod · 0.80

Calls 3

lockMethod · 0.45
sizeMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected