3 ms·
Ironically, Tcl actually does threads in a fairly nice way: Each thread gets its own Tcl interpreter, and you pass messages back and forth between them. It's
by davidw 18y ago
Ironically, Tcl actually does threads in a fairly nice way:
Each thread gets its own Tcl interpreter, and you pass messages back and forth between them. It's a much better approach than the "one big lock". I believe Perl takes a similar approach to Tcl.