diff --git a/BasiliskII/src/MacOSX/NNThread.m b/BasiliskII/src/MacOSX/NNThread.m index 3f083d21..535aa877 100644 --- a/BasiliskII/src/MacOSX/NNThread.m +++ b/BasiliskII/src/MacOSX/NNThread.m @@ -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 {