FMIceLinkAtomicMutex Class Reference

Inherits from NSObject
Declared in FMIceLinkAtomicMutex.h
FMIceLinkAtomicMutex.m

Overview

A managed mutex.

+ atomicMutex

Creates a new instance of an AtomicMutex.
+ (FMIceLinkAtomicMutex *)atomicMutex

Discussion

Creates a new instance of an AtomicMutex.

Declared In

FMIceLinkAtomicMutex.h

– init

Creates a new instance of an AtomicMutex.
- (instancetype)init

Discussion

Creates a new instance of an AtomicMutex.

Declared In

FMIceLinkAtomicMutex.h

– isLocked

Gets if the mutex is locked or not.
- (bool)isLocked

Discussion

Gets if the mutex is locked or not.

Declared In

FMIceLinkAtomicMutex.h

– release

Releases the lock.
- (void)release

Discussion

Releases the lock.

Declared In

FMIceLinkAtomicMutex.h

– tryLock

Tries to obtain a lock with this thread.

@return

- (bool)tryLock

Discussion

Tries to obtain a lock with this thread.

@return

Declared In

FMIceLinkAtomicMutex.h