mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 06:50:48 +00:00
Don't use lazy locks any more
This commit is contained in:
parent
7a98157dc7
commit
f93ca6eeb6
2 changed files with 5 additions and 5 deletions
|
@ -35,7 +35,7 @@
|
|||
#import <Foundation/NSRunLoop.h>
|
||||
#import <Foundation/NSThread.h>
|
||||
#import <Foundation/NSValue.h>
|
||||
#import <GNUstepBase/GSLock.h>
|
||||
#import <Foundation/NSLock.h>
|
||||
|
||||
#import "AppKit/NSAnimation.h"
|
||||
#import "AppKit/NSApplication.h"
|
||||
|
@ -418,7 +418,7 @@ nsanimation_progressMarkSorter(NSAnimationProgress first, NSAnimationProgress se
|
|||
(BOOL (*)(id,SEL,NSAnimation*)) NULL;
|
||||
|
||||
_isThreaded = NO;
|
||||
_isAnimatingLock = [GSLazyRecursiveLock new];
|
||||
_isAnimatingLock = [NSRecursiveLock new];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
@ -430,7 +430,7 @@ nsanimation_progressMarkSorter(NSAnimationProgress first, NSAnimationProgress se
|
|||
c->_progressMarks = GSIArrayCopyWithZone(_progressMarks, zone);
|
||||
c->_animator = nil;
|
||||
c->_isANewAnimatorNeeded = YES;
|
||||
c->_isAnimatingLock = [GSLazyRecursiveLock new];
|
||||
c->_isAnimatingLock = [NSRecursiveLock new];
|
||||
return c;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue