diff -r 5ac905a9a8c0 -r 181c246ea421 Process.st --- a/Process.st Wed Aug 26 15:41:26 1998 +0200 +++ b/Process.st Wed Aug 26 17:46:46 1998 +0200 @@ -104,6 +104,51 @@ (where an exitSemaphore is signalled). See waitUntilSuspended / waitUntilTerminated. + + Process states: + #dead process has (been) terminated; + the process instance has no underlting + thread. + + #run the process is willing to run, + but not active (i.e. another higher prio + process is currently executing) + + #active the process is the current process + (there is only one) + + #ioWait waiting on some io-related semaphore + (typically in #readWait / #writeWait) + + #eventWait waiting on some GUI event + + #timeWait waiting on a timer-related semaphore + + #wait waiting on some (other) semaphore + + #suspended stopped from execution; however, an interrupt + will return it into the run state. + + #stopped stopped from execution; an interrupt will + NOT return it into the run state (for debugging) + + #debug debugger sitting on top of the processes + stack. + + Win32 only: + + #osWait waiting on an OS-API call to finish. + can be interrupted, terminated and aborted + (i.e. the usual context actions are is possible). + + #hardStopped thread was cought while in a blocking API call + or primitive endless loop and has been stopped by + the scheduler. + Can only be resumed or hard-terminated - abort + or soft terminate or unwind actions are not possible. + (due to win32 limitations) + + [Instance variables:] id a unique process-id @@ -1547,6 +1592,6 @@ !Process class methodsFor:'documentation'! version - ^ '$Header: /cvs/stx/stx/libbasic/Process.st,v 1.94 1998-08-26 13:41:26 cg Exp $' + ^ '$Header: /cvs/stx/stx/libbasic/Process.st,v 1.95 1998-08-26 15:46:46 cg Exp $' ! ! Process initialize!