<archie2342345234>
I'm trying to use a c/c++ library with cffi. The library is multithreaded under the hood, and it glitches in random ways (is slow and quits abruptly every other time, but no segfaults etc). But it seems to work without any issues if I do all cffi calls in any thread other than the main one. I guess this probably has something to do with the GIL? Maybe is this an issue that is known to pop up with threaded C libraries in general and
<archie2342345234>
someone could give up some general directions in fixing such stuff? The same behavior is observed both on PyPy3 and CPython