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 05:04:00 EDT 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.
CHANGES SINCE LAST ACTION
To: yuja, #hg-reviewers
Cc: Alphare, durin42, kevincox, mercurial-devel
More information about the Mercurial-devel