mirror of
https://github.com/python/cpython.git
synced 2025-10-14 18:59:46 +00:00
gh-76785: Minor Cleanup of "Cross-interpreter" Code (gh-126457)
The primary objective here is to allow some later changes to be cleaner. Mostly this involves renaming things and moving a few things around. * CrossInterpreterData -> XIData * crossinterpdatafunc -> xidatafunc * split out pycore_crossinterp_data_registry.h * add _PyXIData_lookup_t
This commit is contained in:
parent
3d9f9ae5a7
commit
9357fdcaf0
15 changed files with 343 additions and 337 deletions
|
@ -396,7 +396,7 @@ _Py_COMP_DIAG_POP
|
|||
#define LOCKS_INIT(runtime) \
|
||||
{ \
|
||||
&(runtime)->interpreters.mutex, \
|
||||
&(runtime)->xi.registry.mutex, \
|
||||
&(runtime)->xi.data_lookup.registry.mutex, \
|
||||
&(runtime)->unicode_state.ids.mutex, \
|
||||
&(runtime)->imports.extensions.mutex, \
|
||||
&(runtime)->ceval.pending_mainthread.mutex, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue