MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / _thread_loop

Method _thread_loop

modules/betsy/image_compress_betsy.cpp:245–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245void BetsyCompressor::_thread_loop() {
246 while (!exit) {
247 WorkerThreadPool::get_singleton()->yield();
248 command_queue.flush_all();
249 }
250}
251
252void BetsyCompressor::_thread_exit() {
253 exit = true;

Callers

nothing calls this directly

Calls 2

flush_allMethod · 0.80
yieldMethod · 0.45

Tested by

no test coverage detected