Skip to content

jrexliao/python-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Short Python Programs

  • 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages