On Thu, May 26, 2005 at 01:36:12PM +0200, Zoran Vasiljevic wrote:

> The sharing instead of deep-copying Tcl_Objs is MT-issue which can
> be solved generally by getting the string rep of the Tcl_Obj and
> copying the string rep only but maintaining the object type.

Ah, so that's the part that is different between the single and multi
threaded cases, and presumably why the single-threaded case was fast
enough for a "clone a new interp to service each request" on a Cisco
router?

Here's a naive, clueless-because-I-have-not-read-the-source question:
Is some sort of copy-on-write feasible, for the multi-threaded case?
Or would it even help, if it was possible?

--
Andrew Piskorski <[EMAIL PROTECTED]>
http://www.piskorski.com/


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to