https://github.com/xanthium-enterprises/creating-and-sharing-data-between-python-threads
Tutorial on Creating threads using Python and sharing data between threads
https://github.com/xanthium-enterprises/creating-and-sharing-data-between-python-threads
events lock multithreading producer-consumer producer-consumer-problem python3 python310 thread-safety threading
Last synced: 3 months ago
JSON representation
Tutorial on Creating threads using Python and sharing data between threads
- Host: GitHub
- URL: https://github.com/xanthium-enterprises/creating-and-sharing-data-between-python-threads
- Owner: xanthium-enterprises
- License: mit
- Created: 2024-02-18T07:21:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-27T06:06:47.000Z (over 1 year ago)
- Last Synced: 2024-12-27T09:12:03.675Z (5 months ago)
- Topics: events, lock, multithreading, producer-consumer, producer-consumer-problem, python3, python310, thread-safety, threading
- Language: Python
- Homepage: https://www.xanthium.in/creating-threads-sharing-synchronizing-data-using-queue-lock-semaphore-python
- Size: 27.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Creating and Sharing data between Python threads using Queue
Tutorial teaches you the basics of Python threading and how to tranfer data between threads using producer-consumer pattern
## Online Tutorial
- [Creating and Sharing data between Python threads using Queue Online Tutorial ](https://www.xanthium.in/creating-threads-sharing-synchronizing-data-using-queue-lock-semaphore-python)
- 
- [Youtube Video Tutorial - Creating and Sharing data between Python threads using Queue ](https://www.youtube.com/watch?v=j_envuVVBNw)
- 
## Tutorial Contents
- Introduction to Python Threading
- Creating a Thread in Python
- Using Thread.join() in Python Threading
- Passing Arguments to Python Threads
- Returning Values from Python Thread Functions
- Using Locks in Python
- Controlling Python Threads with Events
- Using event.wait() in Threading
- Using Python Events to Exit from an Infinite Loop
- Producer-Consumer Pattern Using Queue
- Introduction to Queue Data Type in Python
- Data Sharing Between Threads Using Queue