tcl-websh-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@dedasys.com (David N. Welton)
Subject Re: remaining fixme's
Date Thu, 07 Mar 2002 19:20:16 GMT
davidw@dedasys.com (David N. Welton) writes:

> interpool.c:468:    /* fixme: is this really called once, by a single thread, and we
don't do
> 
>     /* fixme: is this really called once, by a single thread, and we don't do
>        any locking in here ?? */
> 
>     /* check immediately to see if we have already been called.  */
> 
> I will do this by adding a 'called' variable to websh_server_conf if
> there are no objections.

Or how about just a static variable?  If it doesn't have a threading
problem, that seems simple enough.

I don't see how it could be called more than once, though, except by
multiple threads.  In which case, we should be doing the lock,
shouldn't we.

-- 
David N. Welton
   Consulting: http://www.dedasys.com/
     Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
   Apache Tcl: http://tcl.apache.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: websh-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-dev-help@tcl.apache.org


Mime
View raw message