Chapter 9. Processes, Threads, and Synchronization


    Introduction

    Recipe 9.1.  Synchronizing All Methods in an Object

    Recipe 9.2.  Terminating a Thread

    Recipe 9.3.  Using a Queue.Queue as a Priority Queue

    Recipe 9.4.  Working with a Thread Pool

    Recipe 9.5.  Executing a Function in Parallel on Multiple Argument Sets

    Recipe 9.6.  Coordinating Threads by Simple Message Passing

    Recipe 9.7.  Storing Per-Thread Information

    Recipe 9.8.  Multitasking Cooperatively Without Threads

    Recipe 9.9.  Determining Whether Another Instanceof a Script Is Already Running in Windows

    Recipe 9.10.  Processing Windows Messages Using MsgWaitForMultipleObjects

    Recipe 9.11.  Driving an External Process with popen

    Recipe 9.12.  Capturing the Output and Error Streams from a Unix Shell Command

    Recipe 9.13.  Forking a Daemon Process on Unix



Python Cookbook
Python Cookbook
ISBN: 0596007973
EAN: 2147483647
Year: 2004
Pages: 420

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net