Evgeny Boytsov <[email protected]> added the comment:
Please note, that UnlockGILandSleep takes GIL back before returning. In a real production code there is a database query. In this example I emulate them with random sleep. So I don't see any problems here. ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue39776> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
