run the event loop for a specified time
Posted to
tcl
by kbk at Tue Feb 23 21:48:06 GMT 2021
view raw
namespace
eval ::ns {}
puts
"scheduling wakeup"
after
10000 {
puts
"
after
fires"
set
::ns::foo hello
}
puts
"waiting
for
::ns::foo"
vwait
::ns::foo
puts
"done waiting"
puts
$::ns::foo
Recent Posts
tcl by cgm
19 hours ago
tcl by egavilan
6 days ago
tcl by smlckz
7 days ago
tcl by Guest86
12 days ago
tcl by mookie
13 days ago
tcl by greycat
18 days ago
tcl by mookie
26 days ago
tcl by mookie
26 days ago
tcl by mookie
32 days ago
tcl by mookie
34 days ago
Submit
New paste
Documentation
From Jabber