Does the python thread safe queue use the GIL, or does it use its own synchronization mechanism?
I want to know because I have a system as follows:
- 2 threads read and write to a queue
- 2 unrelated threads do their own thing, while synchronizing via the GIL
I want to know if the thread pairs are going to influence each other via the locking mechanisms.