1
1
mirror of https://github.com/idris-lang/Idris2.git synced 2025-01-04 06:10:15 +03:00
Commit Graph

2 Commits

Author SHA1 Message Date
Stiopa Koltsov
c4ed1395d9 Replace per signal counter with per signal flag
Operating system counter stores signals as flag set without counter.
So sending two signals to a process may result to one or two signal
handler invocation. Queueing signals inside Idris could give users
false sense of signals being are queue, while they are not.

In particular, test for signal could not work reliably for that
reason.

Also, practically we usually don't need have more than once signal
event.

This is follow-up to . CC @mattpolzin
2021-07-16 11:31:53 +01:00
Mathew Polzin
a0a417240e
Simple signal handling () 2021-05-25 16:45:46 +01:00