Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 14 hours 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 (9 months ago)
- Default Branch: main
- Last Pushed: 2024-02-27T06:06:47.000Z (8 months ago)
- Last Synced: 2024-02-27T07:48:35.997Z (8 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: 0
- 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)
- ![Basics of Python threading and how to tranfer data between threads using producer-consumer pattern](https://img.youtube.com/vi/j_envuVVBNw/0.jpg)
- [Youtube Video Tutorial - Creating and Sharing data between Python threads using Queue ](https://www.youtube.com/watch?v=j_envuVVBNw)
- ![Tutorial teaches you the basics of Python threading and how to tranfer data between threads using producer-consumer pattern](https://www.xanthium.in/sites/default/files/inline-images/python-threads-with-lock.jpg)
## 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