Cog/Audio/Utils/Semaphore.h
Christopher Snowhill 85c7073649 Reformat my own source code with clang-format
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-02-06 21:49:27 -08:00

22 lines
350 B
Objective-C

//
// Semaphore.h
// Cog
//
// Created by Vincent Spader on 8/2/05.
// Copyright 2005 Vincent Spader. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <mach/mach.h>
@interface Semaphore : NSObject {
semaphore_t semaphore;
}
- (id)init;
- (void)signal;
- (void)timedWait:(int)microseconds;
- (void)wait;
- (void)waitIndefinitely;
@end