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 iobates
1 days ago
tcl by iobates
2 days ago
tcl by juliannoble2
12 days ago
tcl by juliannoble2
14 days ago
tcl by oldlaptop
22 days ago
tcl by oldlaptop
22 days ago
tcl by oldlaptop
22 days ago
tcl by oldlaptop
22 days ago
tcl by apn
37 days ago
tcl by arjen
51 days ago
Submit
New paste
Documentation
From Jabber