PR: 2100
Submitted by: James Baker <jbaker@tableausoftware.com> et al. Workaround for slow Heap32Next on some versions of Windows.
This commit is contained in:
@@ -527,6 +527,7 @@ int RAND_poll(void)
|
||||
RAND_add(&hentry,
|
||||
hentry.dwSize, 5);
|
||||
while (heap_next(&hentry)
|
||||
&& (!good || (GetTickCount()-starttime)<MAXDELAY)
|
||||
&& --entrycnt > 0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user