List Info

Thread: IRTcl thread-safe?




IRTcl thread-safe?
user name
2007-05-08 04:19:02
hello yazzers,

is the C part of IRTcl threadsafe?
we consider using it in context of OpenACS & AOLServer, which is compiled with a threaded TCL interpreter.

thank you for any responses,
michael
Re: IRTcl thread-safe?
country flaguser name
Denmark
2007-05-08 06:01:26
Michael Aram wrote:
> hello yazzers,
> 
> is the C part of IRTcl threadsafe?
We'd have to say no to that.

The list of connections (ir objects) associated with a
socket . And this 
list is "global". That's sel_proc_list in
select.c.

Also access to the IR objects are not protected by a mutex.

The former problem is a show-stopper. The latter is not.
Probably.

/ Adam

> we consider using it in context of OpenACS &
AOLServer, which is 
> compiled with a threaded TCL interpreter.
> 
> thank you for any responses,
> michael
> 
> 
>
------------------------------------------------------------
------------
> 
> _______________________________________________
> Yazlist mailing list
> Yazlistlists.indexdata.dk
> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list


_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )