Author: johnmci
Date: 2010-08-25 14:48:36 -0700 (Wed, 25 Aug 2010)
New Revision: 2262
Modified:
trunk/platforms/iOS/vm/OSX/Credits.rtf
trunk/platforms/iOS/vm/OSX/SqueakOSXAppDelegate.m
Log:
iOS update credits.rtf, and ensure thread stack has 4x the size for CogVM JIT to work within.
Modified: trunk/platforms/iOS/vm/OSX/Credits.rtf
===================================================================
--- trunk/platforms/iOS/vm/OSX/Credits.rtf 2010-08-25 05:26:42 UTC (rev 2261)
+++ trunk/platforms/iOS/vm/OSX/Credits.rtf 2010-08-25 21:48:36 UTC (rev 2262)
@@ -7,7 +7,7 @@
(ESUG) for funding the iPhone implementation,\
and the Cocoa OS-X rewrite for 64 bits.\
\
-Author: John M McIntosh.\
+OS-X & iOS port: John M McIntosh.\
Copyright (c) 2009-2010 Corporate Smalltalk Consulting Ltd.\
\
With some code by Ian Piumarta, \
Modified: trunk/platforms/iOS/vm/OSX/SqueakOSXAppDelegate.m
===================================================================
--- trunk/platforms/iOS/vm/OSX/SqueakOSXAppDelegate.m 2010-08-25 05:26:42 UTC (rev 2261)
+++ trunk/platforms/iOS/vm/OSX/SqueakOSXAppDelegate.m 2010-08-25 21:48:36 UTC (rev 2262)
@@ -71,9 +71,14 @@
// Run the squeak process in a worker thread
- [NSThread detachNewThreadSelector: @selector(runSqueak)
- toTarget: self.squeakApplication
- withObject: NULL];
+ NSThread* myThread = [[NSThread alloc] initWithTarget: self.squeakApplication
+ selector: @selector(runSqueak)
+ object:nil];
+#if COGVM
+ [myThread setStackSize: [myThread stackSize]*4];
+#endif
+
+ [myThread start];
/* This the carbon logic model
described by
http://developer.apple.com/qa/qa2001/qa1061.html */