What is Threading?

— by

Threading is a built in module in python that allows multiple threads of execution to take place. This is useful because only one thread can be used at a time which is enforced by python’s global interpreter lock (GIL). The GIL is a mechanism used by the CPython interpreter to assure that only one thread executes Python byte code at a time.

When to use threading.

….

Sources

https://www.codecademy.com/resources/docs/python/threading

Newsletter

Our latest updates in your e-mail.


Leave a Reply

Your email address will not be published. Required fields are marked *