sagemath / cysignals

cysignals: interrupt and signal handling for Cython
GNU Lesser General Public License v3.0
44 stars 23 forks source link

Initial patch for emscripten / pyodide support #197

Open mkoeppe opened 6 months ago

mkoeppe commented 6 months ago

On the emscripten / pyodide platform, there is limited support for POSIX signals.

Building cysignals succeeds, but import cysignals exits immediately because functions sigaltstack and pthread_create error out.

Here we attempt to provide basic support this platform.