Python Cookbook 2Nd Edition Jun 1002005 [Electronic resources]

David Ascher, Alex Martelli, Anna Ravenscroft

نسخه متنی -صفحه : 394/ 191
نمايش فراداده

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