On  7 Aug, Mike Hoegeman wrote:
> Wojciech Kocjan wrote:
>>
>> Hello.
>>
>> I've been wondering - is it possible to share filedescriptors and/or
>> sockets across threads? Both created with open/socket and ns_socket*.
>
> you can't do this in 3.x . you could in 2.x
> i hope this appears again in aolserver 4
> (if anyone is listening..)

Actually, I'm also hoping on my modules/tcl's scripts size not affecting
thread's initialization time that much - it's a bit of a PITA.

> it's essential if you wnat to keep
> a persistant connection to another service someone on the
> back end

You have to use nsv/mutex/event/thread probably to do it...

Maybe 4.0 will include tcl 8.4 as well - I read it's easier to share FDs
across threads there.

--
WK

Reply via email to