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 oldlaptop
1 days ago
tcl by apn
3 days ago
tcl by rmax
6 days ago
tcl by kevin_walzer
10 days ago
tcl by Bradipo
25 days ago
tcl by Stu
47 days ago
tcl by rhobart
60 days ago
tcl by stevel
64 days ago
tcl by dandyn
72 days ago
tcl by dandyn
72 days ago
Submit
New paste
Documentation
From Jabber