From: John Cowan <[EMAIL PROTECTED]>
Subject: Re: [r6rs-discuss] perhaps i should be formal, but....
Date: Thu, 15 Mar 2007 02:25:19 -0400

> Shiro Kawai scripsit:
> 
> > A bit of off-topic, but I'd like to point out that such "smart"
> > string implementation tends to have difficulty with preemptive
> > threads.  Presumably such a string object has some indication of
> > the kind of representation, and a pointer to the actual string body.
> > What if one thread replaces the kind and a pointer (for "upgrading"
> > the string kind by string-set!) and another thread accesses it
> > inbetween?
> 
> "I want to say just one word to you, just one word ...  Locks."

Are you suggesting using mutex for _every_ string access?
Seriously?

--shiro


_______________________________________________
r6rs-discuss mailing list
[email protected]
http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss

Reply via email to