blob: d9df5cbc409bde8c3167d11e10310326a77d41ba [file] [log] [blame]
//
// video_capture_recursive_lock.mm
//
//
#import "video_capture_recursive_lock.h"
@implementation VideoCaptureRecursiveLock
@synthesize locked = _locked;
- (id)init{
self = [super init];
if(nil == self){
return nil;
}
[self setLocked:NO];
return self;
}
- (void)lock{
[self setLocked:YES];
[super lock];
}
- (void)unlock{
[self setLocked:NO];
[super unlock];
}
@end