Re: [tkined] Example script to crash multithread TCL/TNM/TCLHTTPD

From: Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Date: Fri Jun 23 2000 - 09:46:24 MET DST


>>>>> Matthew Krenzer writes:

Matthew> At this point I am assuming Tnm is not thread safe.

Correct. I have some more thread safety patches that are however not
yet in the CVS version.

Matthew> Also, a few of the segfaults where located in TCL proper - so
Matthew> is it really thread safe? or is it the way it interfaces
Matthew> with Tnm that caused the fault? Anyway . . .

A non-thread-safe extension can cause your program to crash at almost
arbitrary places, almost anytime. And right now, most extensions are
not thread-safe so using them in a multi-threaded application is
likely to make your application instable.

/js

-- 
Juergen Schoenwaelder      Technical University Braunschweig
<schoenw@ibr.cs.tu-bs.de>  Dept. Operating Systems & Computer Networks
Phone: +49 531 391 3289    Bueltenweg 74/75, 38106 Braunschweig, Germany
Fax:   +49 531 391 5936    <URL:http://www.ibr.cs.tu-bs.de/~schoenw/>

-- !! This message is brought to you via the `tkined & scotty' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>. !! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.



This archive was generated by hypermail 2b29 : Mon Jan 08 2001 - 15:27:47 MET