I am interested in implementing a threaded windows application that
communicates with many sockets and serial ports. I was wondering if
anyone can comment on how well TCL 8.4/tk (on windows) is suited for
this.
I've also been looking for a tcl 8.4/tk implementation that was built
with threading enabled without having any luck (it doesn't appear easy
to build my own). Anyone know where I can download one?
Help is much appreciated.
Tcl/Tk is well suited for this, and has no requirements for threads
in such a situation - the event loop suffices.
--
Jeff Hobbs The Tcl Guy
Senior Developer http://www.ActiveState.com/
Tcl Support and Productivity Solutions
Do you want to thread with Tcl? Tcl can do that; but
NOT in the standard distribution. You have to get a
Tcl processor built for threading. It's not hard to
do this, but it's not the default.
Do you want to communicate with many sockets and serial
ports? Standard Tcl has a way to do this that is
BETTER than threading. As Jeff summarizes, "the event
loop suffices".
I summarize: your first job is to decide what your
true requirement is. Is threading essential to you,
or just a means to an end?
--
Cameron Laird <Cam...@Lairds.com>
Business: http://www.Phaseit.net
Personal: http://phaseit.net/claird/home.html
To get a base Tcl library built for threading, one can either download
a distribution specifically built for threading, or one can download
the standard source code distribution, along with the extension designed
to make programming with threads easier, and then build these for yourself.
--
Tcl - The glue of a new generation. <URL: http://wiki.tcl.tk/ >
Even if explicitly stated to the contrary, nothing in this posting
should be construed as representing my employer's opinions.
<URL: mailto:lvi...@yahoo.com > <URL: http://www.purl.org/NET/lvirden/ >
Jeffrey Hobbs <Je...@ActiveState.com> wrote in message news:<3E461988...@ActiveState.com>...
Some example code for non-threading network servers
http://mini.net/tcl/8301
http://mini.net/tcl/1757
A http daemon with or without threading
http://mini.net/tcl/tclhttpd
Michael Schlenker
>I've also been looking for a tcl 8.4/tk implementation that was built
>with threading enabled without having any luck (it doesn't appear easy
>to build my own). Anyone know where I can download one?
http://sourceforge.net/project/showfiles.php?group_id=1616&release_id=120053
--
David Gravereaux <davy...@pobox.com>
[species: human; planet: earth,milkyway(western spiral arm),alpha sector]