jgabaut / jgabaut/sprites4curses

[BUG] Receiving SIGINT while inside a napms() call leads to crash

Open
#96 0 comments 0 reactions 1 assignee Claimed by @jgabaut View on GitHub
bug
Dominant language
C
Stars
3
Forks
0
Avg merge
8h 51m
Merged PRs (30d)
2

Description

**Describe the bug**

When using one of the `s4c_animate_` functions, if an interrupt handler is installed by the program and `SIGINT` is received, the program will crash because `napms()` is not interrupt-handler-safe.

- Version: `>=0.1.5`

**Additional context**

This [link](https://www.qnx.com/developers/docs/7.0.0/index.html#com.qnx.doc.neutrino.lib_ref/topic/n/napms.html) mentions the fact that `napms()` is not safe with interrupt handlers.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.