Python multi-threading tests and examples.
pip install -r requirements.txt
To run the functions:
python3 -m python_multithreading.main_module
python3 -m python_multithreading.multithreading_standard
python3 -m python_multithreading.multithreading_io
python3 -m multithreading_worker
python3 -m multithreading_worker_counter
To run all the tests in directory 'tests':
python -m unittest discover -s tests
- main_module.py: The basic thread test.
- multithreading_standard.py: It runs many standard threads.
- multithreading_io.py: It performs I/O operations, reading files in a multi-threading context.
- multithreading_worker.py: It implements a basic ThreadPool with Workers.
- multithreading_worker_counter.py: A counter ThreadPool with Workers synchronizing and locking.
- Wallace Espindola, Sr. Software Engineer / Java & Python Dev
- LinkedIn: linkedin.com/in/wallaceespindola/
- GitHub: github.com/wallaceespindola
- E-mail: [email protected]
- Twitter: @wsespindola
- Gravatar: gravatar.com/wallacese
- Dev Community: dev.to/wallaceespindola
- DZone Articles: DZone Profile
- Pulse Articles: LinkedIn Articles
- Website: W-Tech IT Solutions
- Presentation Slides: Speakerdeck
- This project is released under the Apache 2.0 License.
- See the LICENSE file for details.
- Copyright © 2024 Wallace Espindola.