[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gwydion & threads
- To: address@hidden
- Subject: Re: Gwydion & threads
- From: Andreas Bogk <address@hidden>
- Date: Fri, 15 Mar 2002 06:30:01 -0500
- References: <200203150958.EAA01524@life.ai.mit.edu>
- Sender: "Gregory T. Sullivan" <address@hidden>
- User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp)
- Xref: traf.lcs.mit.edu comp.lang.dylan:14012
Rob Myers <robmyers@mac.com> writes:
> > What's the problem? Is it the two-word representation of objects?
> > That would make it hard to do assignments atomically, which I think
> > the Dylan threads spec requires.
> Yes, that's the one. IIRC Andreas wrote a threads test that crashed
> pretty quickly because of this.
I *think* it crashed because I didn't do anything about locking in the
streams library. I didn't research it any further, because I had no
clue how to implement thread-local variables.
There's no fundamental problem with GD and threads, it just needs to
be done. IIRC, assignments don't need to be atomic.
Andreas
--
"In my eyes it is never a crime to steal knowledge. It is a good
theft. The pirate of knowledge is a good pirate."
(Michel Serres)