Re: Handling asynchronous hardware events



* Christian Gollwitzer <Christian.Gollwitzer@xxxxxxxxxxxxxxx>
| It's not as bad as signal. I'm allowed to malloc() and free(), even
| to sprintf(), but printf and file I/O is forbidden.

In that case probably Tcl_CreateTimerHandler() or Tcl_DoWhenIdle() is
enough?

http://www.tcl.tk/man/tcl8.4/TclLib/CrtTimerHdlr.htm
Tcl_CreateTimerHandler arranges for proc to be invoked at a time
milliseconds milliseconds in the future.

http://www.tcl.tk/man/tcl8.4/TclLib/DoWhenIdle.htm
Tcl_DoWhenIdle arranges for proc to be invoked
when the application becomes idle.

R'
.