[AOLSERVER] Thread safety Tcl's socket command vs ns_sockopen

11 vistas
Ir al primer mensaje no leído

David Osborne

no leída,
13 jun 2012, 5:18:46 a.m.13/6/2012
para aolserv...@lists.sourceforge.net
Hi,
There was some discussion in the past about Tcl's socket command not being thread safe with the recommendation being that ns_sockopen should be used instead.

Does anyone know if this is still the case in Tcl 8.5 or have things moved on? I can't find any reference to thread safety of socket in the more recent documentation.

Thanks in advance.
--
David Osborne
Qcode Ltd


Gustaf Neumann

no leída,
13 jun 2012, 9:33:17 a.m.13/6/2012
para aolserv...@lists.sourceforge.net

There are no issues with the thread safety of the Tcl socket command, we use it regularly on a busy server (up to 10mio hits per day) with tcl 8.5.11.

-gustaf neumann

Am 13.06.12 11:18, schrieb David Osborne:

David Osborne

no leída,
14 jun 2012, 6:28:58 a.m.14/6/2012
para Gustaf Neumann,aolserv...@lists.sourceforge.net
Thanks very much for the info Gustaf. We'll have a go at migrating from ns_sockopen to Tcl socket in that case!

Regards,

--
David Osborne
Qcode Ltd


On 13 June 2012 14:33, Gustaf Neumann <neu...@wu.ac.at> wrote:

There are no issues with the thread safety of the Tcl socket command, we use it regularly on a busy server (up to 10mio hits per day) with tcl 8.5.11.

-gustaf neumann

Am 13.06.12 11:18, schrieb David Osborne:--

Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos