NUMPY_API */
| 4279 | /*NUMPY_API |
| 4280 | */ |
| 4281 | NPY_NO_EXPORT void |
| 4282 | _PyArray_SigintHandler(int signum) |
| 4283 | { |
| 4284 | PyOS_setsig(signum, SIG_IGN); |
| 4285 | /* |
| 4286 | * jump buffer may be uninitialized as SIGINT allowing functions are usually |
| 4287 | * run in other threads than the master thread that receives the signal |
| 4288 | */ |
| 4289 | if (sigint_buf_init > 0) { |
| 4290 | NPY_SIGLONGJMP(_NPY_SIGINT_BUF, signum); |
| 4291 | } |
| 4292 | /* |
| 4293 | * sending SIGINT to the worker threads to cancel them is job of the |
| 4294 | * application |
| 4295 | */ |
| 4296 | } |
| 4297 | |
| 4298 | /*NUMPY_API |
| 4299 | */ |
nothing calls this directly
no outgoing calls
no test coverage detected