On Fri, 6 Jun 2003 07:31:44 +0200, Wojciech Kocjan <[EMAIL PROTECTED]> wrote:
>Alexander Leyke wrote: >> Hello, >> >> I am getting a SIGABRT when evaluating string objects in AOLserver 4.0 >> b6. The pseudocode is: > > [cut] >> Tcl_DecrRefCount (obj) /* NOTE: this statement happens later, and in a >> different thread */ > >You cannot share Tcl objects across threads - not even lists, ints and >strings. > I had no idea... How should I deal with that string object's garbage collection? Perhaps I shouldn't call Tcl_IncrRefCount on it and that's enough to prevent a leak. Another question: is it OK to share Tcl interps between threads? Thank you for helping out - Alex -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list: http://www.aolserver.com/listserv.html List information and options: http://listserv.aol.com/
