Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tehmillhouse
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
31.
▲
by
tehmillhouse
13y ago
Depending on what state cpython is in when you inject, pyrasite may deadlock or segfault the interpreter. All it does is try to get the GIL and then inject the code. Pyringe first gets to a safe place before injecting by (essentially) fakin