Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(32086)

Unified Diff: Modules/_threadmodule.c

Issue 10915: Make the PyGILState API compatible with multiple interpreters
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Modules/_ctypes/ctypes.h ('k') | Python/pystate.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Modules/_threadmodule.c
===================================================================
--- Modules/_threadmodule.c (révision 88020)
+++ Modules/_threadmodule.c (copie de travail)
@@ -984,7 +984,7 @@
tstate = boot->tstate;
tstate->thread_id = PyThread_get_thread_ident();
- _PyThreadState_Init(tstate);
+ _PyThreadState_Init(boot->interp, tstate);
PyEval_AcquireThread(tstate);
nb_threads++;
res = PyEval_CallObjectWithKeywords(
« no previous file with comments | « Modules/_ctypes/ctypes.h ('k') | Python/pystate.c » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+