file locking primitive

David T. Lewis lewis at
Sat Jan 3 22:09:30 UTC 2004

On Sat, Jan 03, 2004 at 01:22:24PM -0800, Tim Rowledge wrote:
> This is perhaps a good place to explain a few possible strategies for
> using classes and vmplugins to handle platform spread.
I think that the approach you describe here is pretty much exactly
what I did for OSPP, right? I used #shouldBeTranslated to figure out
what subclass to generate, allowed significant differences between
the Windows and Unix plugins, and relied on OSProcessAccessor and
its platform-specific subclasses to sort things out as much as possible
on the image side. The reason I ask is that the design evolved into
this approach totally haphazardly, and I'd be interested to know if
I accidentally got it right. It does seem to play nicely with VMM too,
although we would have to give it a little more thought if we wanted
to be able to cross-compile the plugins for Windows from a Unix Squeak
and vice versa (which should be entirely possible, although I've never
actually tried it).


More information about the Squeak-dev mailing list