2 ms·
GIL is released when a thread is waiting on a queue. One thread reads UI event queue from the OS and puts user actions into a queue, another runs your code.
by lozenge 8y ago
GIL is released when a thread is waiting on a queue. One thread reads UI event queue from the OS and puts user actions into a queue, another runs your code.