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."

-- 
John Cowan  [EMAIL PROTECTED]    http://ccil.org/~cowan
Big as a house, much bigger than a house, it looked to [Sam], a grey-clad
moving hill.  Fear and wonder, maybe, enlarged him in the hobbit's eyes,
but the Mumak of Harad was indeed a beast of vast bulk, and the like of him
does not walk now in Middle-earth; his kin that live still in latter days are
but memories of his girth and his majesty.  --"Of Herbs and Stewed Rabbit"

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

Reply via email to