2 |
|
// NNThread.m -Not Nextstep Thread? |
3 |
|
// Nigel's Nice Thread? |
4 |
|
// |
5 |
< |
// Revision 1.3, Tuesday Oct 8 2002 |
5 |
> |
// Revision 1.4, Tuesday May 25 2004 |
6 |
|
// |
7 |
|
// Created by Nigel Pearson on Tue Nov 28 2000. |
8 |
|
// Public Domain. No rights reserved. |
181 |
|
return self; |
182 |
|
} |
183 |
|
|
184 |
+ |
- (NNTimer *) initWithAutoRelPool |
185 |
+ |
{ |
186 |
+ |
self = [super init]; |
187 |
+ |
allocPool = YES; |
188 |
+ |
repeating = YES; |
189 |
+ |
return self; |
190 |
+ |
} |
191 |
+ |
|
192 |
+ |
|
193 |
|
- (void) changeIntervalTo: (int)number |
194 |
|
units: (NNTimeUnits)units |
195 |
|
{ |