diff options
author | Steve Bennett <steveb@workware.net.au> | 2023-02-01 14:33:41 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2023-02-13 10:44:10 +1000 |
commit | 6778c36ca8204d45fdaef06cf54c094f75689e26 (patch) | |
tree | 3f1a0c76ee29b1c7020be606868f91e14917544f /jim_tcl.txt | |
parent | 97c305635eb1552ad373c7e0a835b6069fd79312 (diff) | |
download | jimtcl-6778c36ca8204d45fdaef06cf54c094f75689e26.zip jimtcl-6778c36ca8204d45fdaef06cf54c094f75689e26.tar.gz jimtcl-6778c36ca8204d45fdaef06cf54c094f75689e26.tar.bz2 |
vwait -signal docs and test script
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim_tcl.txt')
-rw-r--r-- | jim_tcl.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/jim_tcl.txt b/jim_tcl.txt index 19de99b..3adf900 100644 --- a/jim_tcl.txt +++ b/jim_tcl.txt @@ -59,6 +59,7 @@ Changes between 0.81 and 0.82 3. Add support for `socket -async` 4. The handles created by `socket pty` now make the replica name available via 'filename' 5. `info frame` now returns a (largely) Tcl-compatible dictionary, and supports 'info frame 0' +6. `vwait -signal` is now supported Changes between 0.80 and 0.81 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5117,12 +5118,14 @@ Time-based execution is also available via the eventloop API. the type of the event. An error occurs if +'id'+ does not match an event. -+*vwait* 'variable'+:: ++*vwait ?-signal?* 'variable'+:: A call to `vwait` enters the eventloop. `vwait` processes events until the named (global) variable changes or all event handlers are removed. The variable need not exist beforehand. If there are no event handlers defined, `vwait` - returns immediately. + returns immediately. If +'-signal'+ is specified, `vwait` will + also quit if a handled signal occurs. In this case, `signal check -clear` + can be used to check for the signal that occurred. +*update ?idletasks?*+:: A call to `update` enters the eventloop to process expired events, but |