Windows Installer work, fix 100% CPU bug in EthernetTap on Windows, Windows lockDownFile() implementation that uses 'cacls' utility.

This commit is contained in:
Adam Ierymenko 2014-01-26 10:21:43 -08:00
commit 22efa1ab53
5 changed files with 119 additions and 17 deletions

View file

@ -1465,7 +1465,7 @@ void EthernetTap::threadMain()
for(;;) {
if (!_run) break;
WaitForMultipleObjectsEx(3,wait4,FALSE,INFINITE,TRUE);
DWORD r = WaitForMultipleObjectsEx(writeInProgress ? 3 : 2,wait4,FALSE,INFINITE,TRUE);
if (!_run) break;
if (HasOverlappedIoCompleted(&_tapOvlRead)) {