Avoid a possible deadlock when stopping playback
Dmitry Timoshkov
dmitry at baikal.ru
Wed Mar 17 20:34:33 CST 2004
"Christian Costa" <titan.costa at wanadoo.fr> wrote:
> >If the MCI command was sent asynchronously (without MCI_WAIT)
> >an thread gets created and the command gets executed there.
> >
> >So, if an app does:
> >mciSendCommand(MCI_PLAY); // an async thread gets created
> >and right after that:
> >mciSendCommand(MCI_STOP);
> >
> >last command hangs forever.
> >
> >
> >
> Do you have a test app?
Yes. It's PowerPoint XP.
> BTW, I've found more wave calls to "protect", will send a patch. :-)
Good :-)
--
Dmitry.
More information about the wine-devel
mailing list