# | Line 24 | Line 24 | |
---|---|---|
24 | thread_suspend (machThread); // Suspend myself | |
25 | ||
26 | if ( allocPool ) | |
27 | < | pool = [[NSAutoreleasePool alloc] init]; |
27 | > | pool = [NSAutoreleasePool new]; |
28 | ||
29 | // [object sel] caused "cannot find method" warnings, so I do it a non-obvious way: | |
30 | objc_msgSend (object, sel); | |
# | Line 43 | Line 43 | pthreadWrapper (void *arg) | |
43 | struct pthreadArgs *args = arg; | |
44 | ||
45 | if ( args -> allocPool ) | |
46 | < | args -> pool = [[NSAutoreleasePool alloc] init]; |
46 | > | args -> pool = [NSAutoreleasePool new]; |
47 | ||
48 | objc_msgSend (*(args->object), *(args->sel)); | |
49 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |