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

Method ThreadWork

tests/core/templates/test_command_queue.h:58–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56
57public:
58 ThreadWork() {
59 mut.lock();
60 state = MAIN_START;
61 }
62 ~ThreadWork() {
63 CHECK_MESSAGE(threading_errors == 0, "threads did not lock/unlock correctly");
64 }

Callers

nothing calls this directly

Calls 1

lockMethod · 0.45

Tested by

no test coverage detected