8000 per-interpreter: pending calls (from ceval state) · Issue #24 · ericsnowcurrently/multi-core-python · GitHub
[go: up one dir, main page]

Skip to content
per-interpreter: pending calls (from ceval state) #24
Closed
@ericsnowcurrently

Description

@ericsnowcurrently

(Note: this was reverted, so the underlying problem needs to be addressed and then the PR re-merged.)

Move PyRuntimeState.ceval.pending to PyInterpreterState.ceval.pending.

  • move pending calls from PyRuntimeState to PyInterpreterState
  • move eval "breaker" flag to PyInterpreterState
  • pass PyInterpreterState * to related macros (rather than rely on PyThreadState_Get())
  • sort out what "main" thread means, when per-interpreter
  • fix usage of Py_AddPendingCall()

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0