William D Clinger wrote:
> 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.
I'm talking about two application threads.
A garbage collector is not an "application".
It knows about the treading model, memory system, etc.
If it is written in Scheme, it would be a special
"system Scheme" variant, not R6RS.
--
--Per Bothner
per_at_bothner.com http://per.bothner.com/
Received on Sat Mar 24 2007 - 14:12:54 UTC