Pablo Galindo Salgado <pablog...@gmail.com> added the comment:
Summary of how I see this dump: 1) Thread 2 tries to get the GIL. 2) Thread 3 tries to get the GIL. 3 Gil acquired! (0) 4) Thread 2 drops the GIL, which means that thread 2 managed to get it before. 5) Gil acquired! (1) 6) Thread 2 tries to get the GIL. 7) Thread 3 drops the GIL which means that thread 2 managed to get the GIL. ... thread 2 and 3 battle for the GIL 8) Gil released! (1) ... thread 2 and 3 battle for the GIL 9) Gil released! (0) It does not seem to me that two threads have the GIL at the same time. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34416> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com