2006-10-31 15:23:16 +00:00
|
|
|
\section block block - temporarily block delivery of events
|
2005-12-14 18:07:44 +00:00
|
|
|
|
|
|
|
\subsection block-synopsis Synopsis
|
|
|
|
<tt>block [OPTIONS...]</tt>
|
|
|
|
|
|
|
|
\subsection block-description Description
|
|
|
|
|
|
|
|
- <tt>-l</tt> or <tt>--local</tt> Release the block at the end of the currently innermost block scope
|
|
|
|
- <tt>-g</tt> or <tt>--global</tt> Never automatically release the lock
|
|
|
|
- <tt>-e</tt> or <tt>--erase</tt> Release global block
|
|
|
|
|
|
|
|
\subsection block-example Example
|
|
|
|
|
2006-09-19 14:52:03 +00:00
|
|
|
<pre>
|
|
|
|
block -g
|
2005-12-17 21:32:05 +00:00
|
|
|
\#Do something that should not be interrupted
|
2005-12-14 18:07:44 +00:00
|
|
|
block -e
|
|
|
|
</pre>
|
|
|
|
|