File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed
graalpython/lib-graalpython/patches/greenlet Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change
1
+ diff --git a/src/greenlet/TThreadStateDestroy.cpp b/src/greenlet/TThreadStateDestroy.cpp
2
+ index 37fcc8c..8cf33ae 100644
3
+ --- a/src/greenlet/TThreadStateDestroy.cpp
4
+ +++ b/src/greenlet/TThreadStateDestroy.cpp
5
+ @@ -71,6 +71,7 @@ private:
6
+ static bool
7
+ MarkGreenletDeadIfNeeded(ThreadState* const state)
8
+ {
9
+ + #if 0 // GraalPy change
10
+ if (state && state->has_main_greenlet()) {
11
+ // mark the thread as dead ASAP.
12
+ // this is racy! If we try to throw or switch to a
13
+ @@ -83,6 +84,7 @@ private:
14
+ return true;
15
+ }
16
+ return false;
17
+ + #endif // GraalPy change
18
+ }
19
+
20
+ static void
Original file line number Diff line number Diff line change 1
1
[[rules ]]
2
- version = ' >= 3.0.0'
2
+ version = ' >= 3.1.1'
3
+ patch = ' greenlet-3.1.1.patch'
4
+ license = ' MIT'
5
+
6
+ [[rules ]]
7
+ version = ' >= 3.0.0, < 3.1.1'
3
8
patch = ' greenlet-3.0.0.patch'
4
9
license = ' MIT'
You can’t perform that action at this time.
0 commit comments