-
mp_pipe.py : a program that utilizes a multiprocessing package to implement the producer-consumer model. An additional process is created to run the consumer concurrently with the master process, which is running the producer. A pipe is used to form a connection between the producer and the consumer.
-
mp_queue.py : a program that utilizes a multiprocessing package to implement the producer-consumer model. An additional process is created to run the consumer concurrently with the master process, which is running the producer. A queue is used to form a connection between the producer and the consumer.
-
thread_queue.py : a program that utilizes a multithreading package to implement the producer-consumer model. An additional thread is created to run the consumer concurrently with the master thread, which is running the producer. A queue is used to form a connection between the producer and the consumer.
-
Notifications
You must be signed in to change notification settings - Fork 0
jrexliao/python-examples
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published