Simpler Thread with Global
Posted to
tcl
by kap at Tue May 05 02:22:51 GMT 2015
view raw
package
require Thread
set
t [thread::create {thread::wait}]
thread::send -async
$t
{
proc
foo {} {
puts
$::time}}
thread::send -async
$t
{
set
time 100}
thread::send -async
$t
{foo}
Recent Posts
tcl by egavilan
11 hours ago
tcl by bch
6 days ago
tcl by Bradipo
6 days ago
tcl by aspect
6 days ago
tcl by Bradipo
6 days ago
tcl by Bradipo
6 days ago
tcl by Bradipo
6 days ago
lilypond by Bradipo
7 days ago
tcl by cgm
18 days ago
tcl by dandyn
27 days ago
Submit
New paste
Documentation
From Jabber