D6859: rust-cpython: mark PySharedState as Sync so &'PySharedState can be Send (RFC)
Alphare (Raphaël Gomès)
phabricator at mercurial-scm.org
Tue Sep 17 09:04:00 UTC 2019
Alphare added a comment.
It is indeed `Sync` because the `py_class!` macro forces us to have a reference to the GIL at the type level to access the data attributes, but I would also like to be extra sure and have someone else confirm it.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D6859/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D6859
To: yuja, #hg-reviewers
Cc: Alphare, durin42, kevincox, mercurial-devel
More information about the Mercurial-devel
mailing list