Konstantin Belousov 0400be45e9 Add sig_intr(9).
It gives the answer would the thread sleep according to current state
of signals and suspensions.  Of course the answer is racy and allows
for false-negatives (no sleep when signal is delivered after process
lock is dropped).  Also the answer might change due to signal
rescheduling among threads in multi-threaded process.

Still it is the best approximation I can provide, to answering the
question was the thread interrupted.

Reviewed by:	markj
Tested by:	pho, rmacklem
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
Differential revision:	https://reviews.freebsd.org/D26628
2020-10-04 16:33:42 +00:00
..
2020-10-02 20:52:09 +00:00
2020-10-02 20:52:09 +00:00
2020-04-24 01:27:25 +00:00
2020-09-25 21:19:56 +00:00
2020-10-02 18:28:00 +00:00
2020-10-03 08:31:28 +00:00
2020-06-04 17:20:58 +00:00
2020-10-02 20:52:09 +00:00
2020-10-04 16:33:42 +00:00
2020-09-17 22:29:38 +00:00
2020-08-31 16:17:28 +00:00
2020-09-15 15:21:29 +00:00
2020-10-02 20:52:09 +00:00
2020-10-04 16:33:42 +00:00
2020-09-15 22:06:36 +00:00