marcus at jet.franken.de
Wed Sep 20 10:55:03 CDT 2006
On Wed, Sep 20, 2006 at 05:54:06PM +0200, Tomas Carnecky wrote:
> Jan Zerebecki wrote:
> >As explained in the mail refrenced above the main problem is that
> >in wine the alsa callback signal (that we currently use) won't
> >work properly without special care, but the fd based method (for
> >example with select) should work as expected.
> Why won't it work without special care? Is it because of the SIGIO
> signal? Wouldn't the fd-method require a separate thread?
Yes, we cannot execute code in signals, namely critical sections
cannot be entered recursively from a signal handler.
Blocking the signal was not accepted by Alexandre, so we would need
to use something else ;)
More information about the wine-devel