On Sat, Jul 03, 2010 at 10:29:49AM +0200, Adrian Lienhard wrote: > > On Jul 2, 2010, at 22:32 , David T. Lewis wrote: > > >> I wonder whether the Mac VM includes the latest version of the OSProcess > >> plugin? > >> > > > > FWIW, you can check the versions of the plugins, on my Linux box > > I have: > > > > OSProcess accessor osppModuleVersionString ==> '4.3.3' > > OSProcess accessor aioVersionString ==> '2.2.2' > > OSProcess accessor xdcpVersionString ==> '2.1.4' > > On my Mac VM (4.2.4beta1U) I get: > > OSProcess accessor osppModuleVersionString ==> '4.0.1' > OSProcess accessor aioVersionString ==> nil > OSProcess accessor xdcpVersionString ==> nil
That's the problem. OSPP 4.0.1 is from November 2005. IIUC, John noticed this and updated the sources in his more recent VMs. If you are building your VMs from scratch, the plugin sources are on SqueakSource in projects OSProcessPlugin, AioPlugin, and XDCP. FYI, the specific fix for OSPP to support OS X was this: Name: VMConstruction-Plugins-OSProcessPlugin-dtl.3 Author: dtl Time: 5 March 2006, 12:15:57 pm UUID: b09d2caa-cb4b-46f8-a1c9-6f4dda49de4f Ancestors: VMConstruction-Plugins-OSProcessPlugin-dtl.2 Version 4.0.2 Add pthread access primitive. Add pthread signal masking to ensure that forwarded signals are delivered to the interpreter thread. This is required for OS X. Strategy: Signal handler checks to see if it is executing in the context of the interpreter pthread. If yes, signal the Squeak semaphore, otherwise mask this pthread to prevent future delivery if this signum and resend the signal to the interpreter pthread. Note, John's new VM code base (iOS) is very different, so I don't know if there will be issues for OSProcess on the new iOS VM. Dave _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
