home *** CD-ROM | disk | FTP | other *** search
-
- 'eventloop'
-
- When your Tcl program executes "eventloop", it will then enter the
- eventloop. This loop receives Intuition messages and commands from
- other Tcl programs and processes them.
-
- Only when a program is executing 'eventloop' can it receive, process
- and reply to commands sent from other Tcl programs. If you send a
- message to a Tcl program that isn't executing 'eventloop', you will
- hang until it does and receives and processes your message. Asynchronous
- messages sent by the "post" command will not cause the sender to hang.
-
- The command 'endeventloop' ends the event loop. If program foo is
- executing eventloop, doing a 'send foo endeventloop' will cause it
- to exit the loop.
-