MCPcopy Create free account
hub / github.com/3rdparty/libprocess / KernelSemaphore

Method KernelSemaphore

src/semaphore.hpp:35–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33{
34public:
35 KernelSemaphore()
36 {
37 CHECK_EQ(
38 KERN_SUCCESS,
39 semaphore_create(mach_task_self(), &semaphore, SYNC_POLICY_FIFO, 0));
40 }
41
42 KernelSemaphore(const KernelSemaphore& other) = delete;
43

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected