mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-04-23 05:00:46 +00:00
* EOAccess/EOAccessFault.m ([EOAccessFaultHandler-init])
([EOAccessFaultHandler-dealloc]) ([EOAccessArrayFaultHandler-dealloc]): Use GSCurrentThread instead of objc_thread_id. (-completeInitializationOfObject): Correct comment. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@20735 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c55dcdc37d
commit
ef97f90cf7
2 changed files with 14 additions and 16 deletions
|
@ -20,6 +20,12 @@
|
|||
to islower. Format according to coding standards.
|
||||
* EOControl/EOKeyValueCoding.m (-takeValue:forKeyPath:isSmart:)
|
||||
Use unsigned for index bookkeeping.
|
||||
|
||||
* EOAccess/EOAccessFault.m ([EOAccessFaultHandler-init])
|
||||
([EOAccessFaultHandler-dealloc])
|
||||
([EOAccessArrayFaultHandler-dealloc]): Use GSCurrentThread instead
|
||||
of objc_thread_id.
|
||||
(-completeInitializationOfObject): Correct comment.
|
||||
|
||||
2005-02-15 David Ayers <d.ayers@inode.at>
|
||||
|
||||
|
|
|
@ -145,8 +145,8 @@ NSString *EOAccessFaultObjectNotAvailableException = @"EOAccessFaultObjectNotAva
|
|||
{
|
||||
if ((self = [super init]))
|
||||
{
|
||||
NSDebugFLog(@"INIT EOAccessFaultHandler %p. ThreadID=%p",
|
||||
(void*)self,(void*)objc_thread_id());
|
||||
NSDebugFLog(@"INIT EOAccessFaultHandler %p. ThreadID=%@",
|
||||
(void*)self,GSCurrentThread());
|
||||
}
|
||||
|
||||
return self;
|
||||
|
@ -183,8 +183,8 @@ NSString *EOAccessFaultObjectNotAvailableException = @"EOAccessFaultObjectNotAva
|
|||
- (void)dealloc
|
||||
{
|
||||
#ifdef DEBUG
|
||||
NSDebugFLog(@"Dealloc EOAccessFaultHandler %p. ThreadID=%p",
|
||||
(void*)self,(void*)objc_thread_id());
|
||||
NSDebugFLog(@"Dealloc EOAccessFaultHandler %p. ThreadID=%@",
|
||||
(void*)self, GSCurrentThread());
|
||||
#endif
|
||||
|
||||
DESTROY(gid);
|
||||
|
@ -193,10 +193,6 @@ NSString *EOAccessFaultObjectNotAvailableException = @"EOAccessFaultObjectNotAva
|
|||
|
||||
[super dealloc];
|
||||
|
||||
#ifdef DEBUG
|
||||
// NSDebugFLog(@"Dealloc EOAccessFaultHandler %p. ThreadID=%p",
|
||||
// (void*)self,(void*)objc_thread_id());
|
||||
#endif
|
||||
}
|
||||
|
||||
- (EOKeyGlobalID *)globalID
|
||||
|
@ -224,7 +220,7 @@ NSString *EOAccessFaultObjectNotAvailableException = @"EOAccessFaultObjectNotAva
|
|||
EOFLOGObjectFnStart();
|
||||
|
||||
// We want to be sure that we will not be autoreleased
|
||||
// in a sub autorelease pool !
|
||||
// in an autorelease pool of another thread!
|
||||
AUTORELEASE(RETAIN(self));
|
||||
|
||||
[databaseContext _fireFault: anObject];
|
||||
|
@ -326,8 +322,8 @@ NSString *EOAccessFaultObjectNotAvailableException = @"EOAccessFaultObjectNotAva
|
|||
- (void)dealloc
|
||||
{
|
||||
#ifdef DEBUG
|
||||
NSDebugFLog(@"Dealloc EOAccessArrayFaultHandler %p. ThreadID=%p",
|
||||
(void*)self,(void*)objc_thread_id());
|
||||
NSDebugFLog(@"Dealloc EOAccessArrayFaultHandler %p. ThreadID=%@",
|
||||
(void*)self,GSCurrentThread());
|
||||
#endif
|
||||
|
||||
DESTROY(sgid);
|
||||
|
@ -336,10 +332,6 @@ NSString *EOAccessFaultObjectNotAvailableException = @"EOAccessFaultObjectNotAva
|
|||
DESTROY(editingContext);
|
||||
|
||||
[super dealloc];
|
||||
#ifdef DEBUG
|
||||
// NSDebugFLog(@"Stop Dealloc EOAccessArrayFaultHandler %p. ThreadID=%p",
|
||||
// (void*)self,(void*)objc_thread_id());
|
||||
#endif
|
||||
}
|
||||
|
||||
- (EOKeyGlobalID *)sourceGlobalID
|
||||
|
@ -367,7 +359,7 @@ NSString *EOAccessFaultObjectNotAvailableException = @"EOAccessFaultObjectNotAva
|
|||
EOFLOGObjectFnStart();
|
||||
|
||||
// We want to be sure that we will not be autoreleased
|
||||
// in a sub autorelease pool !
|
||||
// in an autorelease pool of another thread!
|
||||
AUTORELEASE(RETAIN(self));
|
||||
|
||||
[databaseContext _fireArrayFault: anObject];
|
||||
|
|
Loading…
Reference in a new issue