[r6rs-discuss] fun with threads

From: William D Clinger <will>
Date: Sat Mar 24 09:44:42 2007

I am posting this as an individual member of the Scheme
community. I am not speaking for the R6RS editors.

Per Bothner wrote:
> I cannot sea how an application can be other
> than seriously buggy if one thread tries to read a string
> while another thread is updating it without first acquiring
> a lock.

There are lots of seriously correct reasons for
doing that. Indeed, several partially concurrent
garbage collectors do that, and one of my PhD
students is writing a new partially concurrent
garbage collector for Larceny that will do that.

To read about some fun issues that arose in one
of Sun's JVMs, see
http://research.sun.com/jtech/pubs/02-clog.pdf

Will
Received on Sat Mar 24 2007 - 09:44:37 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC