mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
gh-81057: Move OS-Related Globals to _PyRuntimeState (gh-100082)
https://github.com/python/cpython/issues/81057
This commit is contained in:
parent
c85be734d1
commit
cda9f0236f
14 changed files with 107 additions and 27 deletions
|
|
@ -390,9 +390,6 @@ Modules/faulthandler.c - old_stack -
|
|||
##-----------------------
|
||||
## initialized once
|
||||
|
||||
Modules/posixmodule.c os_dup2_impl dup3_works -
|
||||
Modules/posixmodule.c - structseq_new -
|
||||
Modules/posixmodule.c - ticks_per_second -
|
||||
Modules/timemodule.c _PyTime_GetClockWithInfo initialized -
|
||||
Modules/timemodule.c _PyTime_GetProcessTimeWithInfo ticks_per_second -
|
||||
|
||||
|
|
|
|||
|
Can't render this file because it has a wrong number of fields in line 4.
|
|
|
@ -11,14 +11,18 @@ filename funcname name reason
|
|||
# These are effectively const.
|
||||
|
||||
##-----------------------
|
||||
## process-global resources - set during first init
|
||||
## process-global resources
|
||||
|
||||
## indicators for resource availability/capability
|
||||
# (set during first init)
|
||||
Python/bootstrap_hash.c py_getrandom getrandom_works -
|
||||
Python/fileutils.c - _Py_open_cloexec_works -
|
||||
Python/fileutils.c set_inheritable ioctl_works -
|
||||
# (set lazily, *after* first init)
|
||||
# XXX Is this thread-safe?
|
||||
Modules/posixmodule.c os_dup2_impl dup3_works -
|
||||
|
||||
## resource init
|
||||
## resource init - set during first init
|
||||
Python/thread.c - initialized -
|
||||
Python/thread_pthread.h - condattr_monotonic -
|
||||
# safe static buffer used during one-time initialization
|
||||
|
|
|
|||
|
Can't render this file because it has a wrong number of fields in line 4.
|
Loading…
Add table
Add a link
Reference in a new issue