Date: Mon, 27 Feb 2006 17:20:07 GMT From: Lonnie Mendez <lmendez19@austin.rr.com> To: freebsd-usb@FreeBSD.org Subject: Re: usb/40792: signals lead to data loss on device ugen Message-ID: <200602271720.k1RHK7TK084029@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR usb/40792; it has been noted by GNATS.
From: Lonnie Mendez <lmendez19@austin.rr.com>
To: bug-followup@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602271720.k1RHK7TK084029>
