MCPcopy Create free account
hub / github.com/Simple-XX/SimpleKernel / ContentionArgs

Class ContentionArgs

tests/system_test/mutex_test.cpp:152–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150// =========================================================================
151
152struct ContentionArgs {
153 Mutex* mtx;
154 std::atomic<int>* counter;
155};
156
157void contention_worker(void* arg) {
158 auto* ctx = reinterpret_cast<ContentionArgs*>(arg);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected