This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients BreamoreBoy, ajaksu2, eric.snow, jd, jpe, pitrou, serhiy.storchaka, vstinner
Date 2019-12-10.13:46:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1575985613.41.0.991943761585.issue1021318@roundup.psfhosted.org>
In-reply-to
Content
> We'd simply need to provide a new API to lock/unlock the interpreter's mutex.

Are you talking about this lock?

#define HEAD_LOCK(runtime) \
    PyThread_acquire_lock((runtime)->interpreters.mutex, WAIT_LOCK)
#define HEAD_UNLOCK(runtime) \
    PyThread_release_lock((runtime)->interpreters.mutex)
History
Date User Action Args
2019-12-10 13:46:53vstinnersetrecipients: + vstinner, jpe, pitrou, ajaksu2, jd, BreamoreBoy, eric.snow, serhiy.storchaka
2019-12-10 13:46:53vstinnersetmessageid: <1575985613.41.0.991943761585.issue1021318@roundup.psfhosted.org>
2019-12-10 13:46:53vstinnerlinkissue1021318 messages
2019-12-10 13:46:53vstinnercreate