+ (MUISemaphore *) semaphore

Default constructor

- (void) lock

Emulates exec.library/ObtainSemaphore.

- (void) sharedLock

Emulates exec.library/ObtainSemaphoreShared. The autodocs suggested pre-V39 fixes are already implemented.

- (BOOL) tryLock

Emulates exec.library/AttemptSemaphore.

- (BOOL) trySharedLock

Emulates exec.library/AttemptSemaphoreShared. The autodocs suggested pre-V39 fixes are already implemented.

- (void) unlock

Emulates exec.library/ReleaseSemaphore.