diff options
author | LRN <lrn1986@gmail.com> | 2012-10-25 19:37:32 +0000 |
---|---|---|
committer | LRN <lrn1986@gmail.com> | 2012-10-25 19:37:32 +0000 |
commit | 7241118c298760e054ecd66a1436a63926fa4172 (patch) | |
tree | 77097b53ece1a34cb972550130d7b3d0a762414b /src/regex/test_regex_graph_api.c | |
parent | 86d07616fcf20cb2d10d9ebe9e0d695d7a727a10 (diff) |
bratao: W32: Optimize ..._select() implementation
Begin with a quick sequential check of sockets and pipes, and
bail out if something is selected already, or if timeout is zero,
avoiding overhead of setting up all the stuff necessary to sleep until
either a socket or a pipe wakes us up.
Diffstat (limited to 'src/regex/test_regex_graph_api.c')
0 files changed, 0 insertions, 0 deletions