This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix over/underflow issues in win32_msgwait
authorDaniel Dragan <bulk88@hotmail.com>
Tue, 18 Sep 2012 08:17:21 +0000 (04:17 -0400)
committerSteve Hay <steve.m.hay@googlemail.com>
Tue, 18 Sep 2012 16:34:55 +0000 (17:34 +0100)
commit001e9f8966c22ce5f6e43f663bffdffb73bf623c
tree643c1447e72685635f4e74d35d179a63d64f773d
parentb932b26697523f5576f3c2608445dfafe32b8832
fix over/underflow issues in win32_msgwait

This commit does not completely fix 33096, since the real problem is that
VS IDE's debugger causes a Windows message to be sent to perl on each
breakpoint. Depending on where the breakpoint was set. The BP may make it
impossible to exit the loop because of the Visual Studio IDE Debugger's
design. Various overflow and underflow issues were fixed in win32_msgwait.
Specifically, the time count rolling forwards through zero
(GetSystemTimeAsFileTime), and the time count running ahead of the end
time (rolling backwards through zero) were fixed ("<=" check).
pod/perldelta.pod
pod/perlport.pod
win32/win32.c