[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gwydion & threads



In article <87y9gtlfxn.fsf@andreas.org>,
 Andreas Bogk <andreas@andreas.org> wrote:

> Eric Gouriou <egouriou@cup.hp.com> writes:
> 
> >  The bad news is that this doesn't make any of those assignments
> > atomic.
> 
> Yes, you're right, the C semantics doesn't guarantee that.
> 
> Could we live with a threads implementation that doesn't guarantee
> atomicity?

I don't see why not.  It's not as if we have to implemnent mutex 
primitives in Dylan itself -- we can use those of the OS or a library.

-- Bruce