file locking primitive

Tim Rowledge tim at sumeru.stanford.edu
Sat Jan 3 21:26:03 UTC 2004


"David Gorisek" <david at gorisek.com> wrote:

> So, if Squeak had a file locking primitive it would be nice if it
> behaved the same across various OSs.
Small, but utterly crucial correction here - it's not the primitive
that needs to behave the same it's the _system_. The system should be
able to handle all forms of locking even if the response is to raise an
exception to say it can't do any kind of file locking. 

tim
--
Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Make sure your code "does nothing" gracefully.



More information about the Squeak-dev mailing list