usb/40792: signals lead to data loss on device ugen
Lonnie Mendez
lmendez19 at austin.rr.com
Mon Feb 27 09:20:13 PST 2006
The following reply was made to PR usb/40792; it has been noted by GNATS.
From: Lonnie Mendez <lmendez19 at austin.rr.com>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: usb/40792: signals lead to data loss on device ugen
Date: Mon, 27 Feb 2006 11:13:05 -0600
My fault for not reading up on how to protect critical code with
sigprocmask(). ie:
http://ou800doc.caldera.com/en/SDK_sysprog/_Protecting_Critical_Sections.html
This technique works to protect the code from qemu's use of SIGALRM
as a timing mechanism. There are a few more issues with my code, but
they are my issues. Sorry for the stirrup.
More information about the freebsd-usb
mailing list