Cogmasters/concord

Signal Safety in concord-once.h

Anotra opened this issue · 2 comments

Describe the bug

When using cflag CCORD_SIGINTCATCH, the signal handler will call fputs(unsafe), and locks and unlocks a mutex(unsafe).

Version

fputs has been there since inception, mutex was introduced in PR #140

Any ETA on a fix, idk how to write code, so...