mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-15 06:30:13 +00:00
New Autorelease pool stuff for NNTimer
This commit is contained in:
parent
826329a1c8
commit
a141e8dd9e
@ -2,7 +2,7 @@
|
|||||||
// NNThread.m -Not Nextstep Thread?
|
// NNThread.m -Not Nextstep Thread?
|
||||||
// Nigel's Nice Thread?
|
// Nigel's Nice Thread?
|
||||||
//
|
//
|
||||||
// Revision 1.3, Tuesday Oct 8 2002
|
// Revision 1.4, Tuesday May 25 2004
|
||||||
//
|
//
|
||||||
// Created by Nigel Pearson on Tue Nov 28 2000.
|
// Created by Nigel Pearson on Tue Nov 28 2000.
|
||||||
// Public Domain. No rights reserved.
|
// Public Domain. No rights reserved.
|
||||||
@ -181,6 +181,15 @@ pthreadWrapper (void *arg)
|
|||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (NNTimer *) initWithAutoRelPool
|
||||||
|
{
|
||||||
|
self = [super init];
|
||||||
|
allocPool = YES;
|
||||||
|
repeating = YES;
|
||||||
|
return self;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
- (void) changeIntervalTo: (int)number
|
- (void) changeIntervalTo: (int)number
|
||||||
units: (NNTimeUnits)units
|
units: (NNTimeUnits)units
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user