.arcconfig
author Yuya Nishihara <yuya@tcha.org>
Tue, 17 Sep 2019 07:59:25 +0900
changeset 43175 a1908eb08342
parent 33583 b2c27d84f05c
child 44128 ff396501e841
permissions -rw-r--r--
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.

{
    "conduit_uri": "https://phab.mercurial-scm.org/api",
    "repository.callsign": "HG",
    "arc.land.onto.default": "@",
    "base": "hg:.^"
}