DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Writing Deskshell commands

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

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 26 May 2005