ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/MacOSX/NNThread.m
(Generate patch)

Comparing BasiliskII/src/MacOSX/NNThread.m (file contents):
Revision 1.2 by nigel, 2002-10-22T12:10:18Z vs.
Revision 1.3 by nigel, 2002-12-18T11:54:17Z

# 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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines