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
- E-mail: wallace.espindola@gmail.com
- LinkedIn: https://www.linkedin.com/in/wallaceespindola/
- Website: https://wtechitsolutions.com/
- This project is released under the Apache 2.0 License. See the LICENSE file for details.
- Copyright © 2024 Wallace Espindola.