Threads
A ``thread'' is an instance of a Deskshell
script being executed.
When the Desktop is running, there is always at least one
thread being executed -- the ``system thread''.
A new thread is created in the following situations:
- 
for each desktop window
 
- 
for each directory window
 
- 
for each Treeview window
 
- 
when the user triggers an icon
 
- 
when a script executes a command in the background,
using the ``&'' operator
 
- 
when a script performs an
actions_of,
drop_in_actions_of,
or
menu_actions_of
command
 
- 
when a pipeline is executed
See also:
- 
actions_of,
drop_in_actions_of,
and
menu_actions_of
in the
deskcommands(XC)
manual page
Next topic: 
The state of threads
Previous topic: 
How Deskshell commands are executed
© 2003 Caldera International, Inc.  All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003