##// END OF EJS Templates
rust-cpython: mark PySharedState as Sync so &'PySharedState can be Send...
rust-cpython: mark PySharedState as Sync so &'PySharedState can be Send The goal is to store &'static PySharedState in $leaked struct, which allows us to move the $leaked struct out of the macro. Currently, it depends on inner.$data_member(py), which can't be generalized. PySharedState is Sync because any mutation or read operation is synchronized by the Python GIL, py: Python<'a>, which should guarantee that &'PySharedState can be sent to another thread.

File last commit:

r19905:078ccd78 default
r43445:a1908eb0 default
Show More
changelog.tmpl
5 lines | 67 B | application/x-cheetah | CheetahLexer
Alexander Plavin
hgweb: add changelog and search templates to raw style...
r19429 {header}
Alexander Plavin
hgweb: replace 'shortlog' with 'changelog' in raw changelog template
r19905 # HG changelog
Alexander Plavin
hgweb: add changelog and search templates to raw style...
r19429 # Node ID {node}
{entries%changelogentry}