[AOLSERVER] Thread safety Tcl's socket command vs ns_sockopen
11 views
Skip to first unread message
David Osborne
unread,
Jun 13, 2012, 5:18:46 AM6/13/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 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
unread,
Jun 13, 2012, 9:33:17 AM6/13/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 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
unread,
Jun 14, 2012, 6:28:58 AM6/14/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 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.