20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#import "threading.h"
/*!
* @brief A class for creating mutual exclusions.
*/
@interface OFMutex: OFObject <OFLocking>
{
of_mutex_t mutex;
BOOL initialized;
OFString *name;
}
/*!
* @brief Creates a new mutex.
*
* @return A new autoreleased mutex.
*/
|
|
|
|
|
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#import "threading.h"
/*!
* @brief A class for creating mutual exclusions.
*/
@interface OFMutex: OFObject <OFLocking>
{
of_mutex_t _mutex;
BOOL _initialized;
OFString *_name;
}
/*!
* @brief Creates a new mutex.
*
* @return A new autoreleased mutex.
*/
|