The state of threads
Threads can be in one of three different states:
executing-
commands within the thread are being executed in sequence
suspended-
system and window threads can be suspended until a specified
condition is satisfied, or the thread receives a signal
terminating it
waiting-
the thread is waiting for a program to run.
While waiting, it cannot receive any signals until the
thread is unblocked.
A thread is also blocked by a
sleep
command, by internal commands such as
for_info
and
gti
that wait for the user, and by running a pipeline.
See also:
Next topic:
Local variables
Previous topic:
Threads
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003