3 ms·
How do people deal with GIL when writing GUI code in Python? Without multithreading computation will block UI.
by netheril96 8y ago
How do people deal with GIL when writing GUI code in Python? Without multithreading computation will block UI.
- lozenge 8y agoGIL 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.