HomeFreeBSD

When sending ignored signal, arrange for zero return code from sleep

Description

When sending ignored signal, arrange for zero return code from sleep

Otherwise consumers get unexpected EINTR errors without seeing
a properly discarded signal.

Reported and tested by: trasz
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D32252

Details

Provenance
kibAuthored on Oct 1 2021, 6:59 AM
Reviewer
markj
Differential Revision
D32252: When sending ignored signal, arrange for zero return code from sleep
Parents
rGb599982b65e3: Move td_pflags2 TDP2_SIGWAIT to td_flags TDF_SIGWAIT
Branches
Unknown
Tags
Unknown