File tree Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -58,10 +58,12 @@ jobs:
5858 fail-fast : false
5959 matrix :
6060 include :
61+ # - pair: { elixir: "1.18.1", otp: "27.2" }
62+ # python_minor: "10"
6163 - pair : { elixir: "1.15.8", otp: "25.3" }
6264 python_minor : " 10"
63- - pair : { elixir: "1.18.1", otp: "27.2" }
64- python_minor : " 13"
65+ # - pair: { elixir: "1.18.1", otp: "27.2" }
66+ # python_minor: "13"
6567 env :
6668 MIX_ENV : test
6769 PYTHONX_TEST_PYTHON_MINOR : ${{ matrix.python_minor }}
Original file line number Diff line number Diff line change @@ -83,29 +83,29 @@ class PyGILGuard {
8383 PyThreadStatePtr state;
8484
8585 {
86- std::cout << " wait thread_states_mutex" << std::endl;
86+ std::cout << " wait thread_states_mutex " << this -> thread_id << std::endl;
8787 auto guard = std::lock_guard<std::mutex>(thread_states_mutex);
88- std::cout << " got thread_states_mutex" << std::endl;
88+ std::cout << " got thread_states_mutex " << this -> thread_id << std::endl;
8989
9090 if (thread_states.find (this ->thread_id ) == thread_states.end ()) {
9191 // Note that PyThreadState_New does not require GIL to be held.
92- std::cout << " before PyThreadState_New" << std::endl;
92+ std::cout << " before PyThreadState_New " << this -> thread_id << std::endl;
9393 state = PyThreadState_New (interpreter_state);
94- std::cout << " after PyThreadState_New" << std::endl;
94+ std::cout << " after PyThreadState_New " << this -> thread_id << std::endl;
9595 } else {
9696 state = thread_states[this ->thread_id ];
9797 }
9898 }
9999
100- std::cout << " wait PyEval_RestoreThread" << std::endl;
100+ std::cout << " wait PyEval_RestoreThread " << this -> thread_id << std::endl;
101101 PyEval_RestoreThread (state);
102- std::cout << " got PyEval_RestoreThread" << std::endl;
102+ std::cout << " got PyEval_RestoreThread " << this -> thread_id << std::endl;
103103 }
104104
105105 ~PyGILGuard () {
106- std::cout << " before PyEval_SaveThread" << std::endl;
106+ std::cout << " before PyEval_SaveThread " << this -> thread_id << std::endl;
107107 PyEval_SaveThread ();
108- std::cout << " after PyEval_SaveThread" << std::endl;
108+ std::cout << " after PyEval_SaveThread " << this -> thread_id << std::endl;
109109 }
110110};
111111
You can’t perform that action at this time.
0 commit comments