Module: ThreadProcess | DelphiViewer/ThreadProcess.py | |||||||
---|---|---|---|---|---|---|---|---|
File: ThreadProcess.py Date: 07.11.2000 Description: Runs a separate, non-interactive process as a thread. Follows the worker-thread paradigm. Once you instantiate a ThreadProcess class, you must: 1) run it. 2) use the ThreadProcess queue structure to check to see if it is done. Imports: - os local operating system access/functionality - threading higher-level threading - Queue multi-thread safe LILO structure - sched event scheduler - time basic timing functionality Classes: WorkerThread Caveats: Only works for command-line, non-interactive, ie non-Tkinter sub processes. Last modified: 07.11.2000 - Added. To do: 07.11.2000 -
|