cog/Plugins/AudioOverload/GlobalLock.h

18 lines
336 B
C
Raw Normal View History

2009-03-01 06:04:03 +00:00
//
// GlobalLock.h
// AudioOverload
//
// Created by Vincent Spader on 2/28/09.
// Copyright 2009 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#include <pthread.h>
// Because NSLock bitches when we unlock from a different thread.
@interface GlobalLock : NSObject<NSLocking> {
pthread_mutex_t mutex;
}
@end