let's say you have a TCL procedure that takes an extremely long time to complete, and you need a wake up call at the end of the tcl procedure so that you know when to look at the results.
What's a good way to wake yourself up from a deep sleep using tcl code... like say you are lying on the couch, sawing logs, and you need a jolt from your tcl program to get you woken up when its done processing?
Example:
tcl_proc_that_takes_hours_to_complete
ring_alarm_bell_to_inform_user_that_proc_is_done
I thought about:
proc ring_alarm_bell_to_inform_user_that_proc_is_done {}
puts "\a"
}
but somehow, i think its not annoying enough to be useful for this purpose...