Starting from python 3.13 released last month, you get to use multithreading by unlocking the GIL, by default it is still locked so it’s necessary to unlock the GIL first before running the interpreter. I still don’t know how to unlock the GIL, any chances to shows us @kevinwoodrobotics
Code: kevinwoodrobotics.com/product/python-threading-tutorial-basic-to-advanced-multithreading-pool-executors-daemon-lock-queue-events/
Thank you for continuously providing us with new knowledge. Your channel is a huge blessing to me. Keep up the good work.
Thank you! Glad to hear!
So what version of Python has the GIL fix in it to allow for true multithreading in Python?
3.13
Starting from python 3.13 released last month, you get to use multithreading by unlocking the GIL, by default it is still locked so it’s necessary to unlock the GIL first before running the interpreter. I still don’t know how to unlock the GIL, any chances to shows us @kevinwoodrobotics