diff options
author | Marc Hoersken <info@marc-hoersken.de> | 2014-12-26 10:11:47 +0100 |
---|---|---|
committer | Marc Hoersken <info@marc-hoersken.de> | 2014-12-26 10:15:33 +0100 |
commit | 62a018762e081a679534a19c3b41fcf597de64ec (patch) | |
tree | 3680fde043e6fbcdc664a782bdaa7e07d29e434c /lib/nonblock.c | |
parent | 6dd9c3909c674fc476673ca9af353f33e4b9daf1 (diff) |
sockfilt.c: Replace 100ms sleep with thread throttle
Improves performance of test cases 574 and 575 by 50%.
A value of zero causes the thread to relinquish the remainder
of its time slice to any other thread of equal priority that is
ready to run. If there are no other threads of equal priority
ready to run, the function returns immediately, and the thread
continues execution.
http://msdn.microsoft.com/library/windows/desktop/ms686307.aspx
Diffstat (limited to 'lib/nonblock.c')
0 files changed, 0 insertions, 0 deletions