[r6rs-discuss] perhaps i should be formal, but....

From: John Cowan <cowan>
Date: Thu Mar 15 02:25:24 2007

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  cowan_at_ccil.org    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"
Received on Thu Mar 15 2007 - 02:25:19 UTC

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