[r6rs-discuss] Re: fun with threads

From: Per Bothner <per>
Date: Sat Mar 24 14:16:02 2007

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

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