mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-27 00:29:40 +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?
|
||||
// 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.
|
||||
// Public Domain. No rights reserved.
|
||||
@ -181,6 +181,15 @@ pthreadWrapper (void *arg)
|
||||
return self;
|
||||
}
|
||||
|
||||
- (NNTimer *) initWithAutoRelPool
|
||||
{
|
||||
self = [super init];
|
||||
allocPool = YES;
|
||||
repeating = YES;
|
||||
return self;
|
||||
}
|
||||
|
||||
|
||||
- (void) changeIntervalTo: (int)number
|
||||
units: (NNTimeUnits)units
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user