文件名称:Python Parallel Programming Cookbook
文件大小:2.95MB
文件格式:PDF
更新时间:2021-09-13 05:34:25
python
Introduction 2 The parallel computing memory architecture 3 Memory organization 6 Parallel programming models 14 How to design a parallel program 16 How to evaluate the performance of a parallel program 19 Introducing Python 21 Python in a parallel world 26 Introducing processes and threads 26 Start working with processes in Python 27 Start working with threads in Python 29 Chapter 2: Thread-based Parallelism 33 Introduction 34 Using the Python threading module 35 How to define a thread 35 How to determine the current thread 37 How to use a thread in a subclass 39 Thread synchronization with Lock and RLock