From: "Robert May" <rob@themayfamily.me.uk>
Message-ID: <
54bdc7510803130706q6523793ak1f3f1c6578fa97c1@mail.gmail.com>
p4raw-id: //depot/perl@33506
* Perl is calling win32_waitpid() inside a GUI application and the GUI
* is generating messages before the process terminated.
*/
- while (PeekMessage(&msg, NULL, 0, 0, PM_NOREMOVE|PM_NOYIELD))
- /* keep going */ ;
+ PeekMessage(&msg, NULL, 0, 0, PM_NOREMOVE|PM_NOYIELD);
/* Above or other stuff may have set a signal flag */
if (PL_sig_pending)