]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Properly check for an interrupted cv_wait_sig().
authorMark Johnston <markj@FreeBSD.org>
Fri, 30 Aug 2019 15:40:31 +0000 (15:40 +0000)
committerMark Johnston <markj@FreeBSD.org>
Fri, 30 Aug 2019 15:40:31 +0000 (15:40 +0000)
commit7da9377b0d124ad89921f89b6d5b390aac4050e1
treea759229bfa19f24d58ac7811a9812e87d91fdc57
parentcf955ebf6f9a04f79052fb5dbce0af53a82c6fa8
Properly check for an interrupted cv_wait_sig().

The returned error number may be EINTR or ERESTART depending on
whether or not the signal is supposed to interrupt the system call.

Reported and tested by: pho
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
sys/dev/sound/midi/sequencer.c