just FYI
I am using the tsv (from the thread package) functions within aolserver
and, at least for my uses, it is faster than the nsv equivalents. (and
it is a namespace :-)) It also has a number of advantages, I can run
the same code outside of aolserver, the tsv::lock allows me to run a
block of code under the shared mutex, and it has a more complete set of
list functions.
Jay
Jim Davidson wrote:
Hi,
Brent Welch wrote some ns_share code which worked with Tcl variable
traces to emulate the original code. It works except for a few edge
cases but is generally considered less efficient and flexible than the
new nsv_* commands. So, when I say we gave up on ns_share I mean we
stopped applying our patches to the Tcl core for ns_share, allowing us
to use the Tcl source un-altered.
-Jim
On Apr 14, 2008, at 1:37 PM, Brett Schwarz wrote:
True -- the original threading in AOLserver 2.0 way back in 1995 (yes,
1995) was based on a thread-safe hacked Tcl 7.3. I can't recall where
I got it -- I think someone at UCB did the work. We later hacked Tcl
7.4 and 8.1 on our own before enough support was in the Tcl core and
we were ready to give up on "ns_share" which was a significant hack
that couldn't reasonably be brought forward.
I was just looking at file.tcl, and it still uses ns_share. Is that
ok? Or should that be changed?
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
--
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.
--
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.
--
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.
begin:vcard
fn:Jay J. Rohr
n:Rohr;Jay
email;internet:[EMAIL PROTECTED]
x-mozilla-html:TRUE
version:2.1
end:vcard