aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/select.h
diff options
context:
space:
mode:
authorJohn Hood <cgull@glup.org>2016-01-28 17:08:39 -0500
committerCorinna Vinschen <corinna@vinschen.de>2016-03-20 15:26:31 +0100
commit6e70fd315a29578f090a98f84e9d8e95ddb156e3 (patch)
treeb8becde819804ad541e667fc46084f23b11de19d /winsup/cygwin/select.h
parent313fcaf1bc7b59dc8bf965dfe620fa342e653389 (diff)
downloadnewlib-6e70fd315a29578f090a98f84e9d8e95ddb156e3.zip
newlib-6e70fd315a29578f090a98f84e9d8e95ddb156e3.tar.gz
newlib-6e70fd315a29578f090a98f84e9d8e95ddb156e3.tar.bz2
Use high-resolution timebases for select().
* cygwait.h: Add cygwait_us() methods. * select.h: Change prototype for select_stuff::wait() for larger microsecond timeouts. * select.cc (pselect): Convert from old cygwin_select(). Implement microsecond timeouts. (cygwin_select): Rewrite as a wrapper on pselect(). (select): Implement microsecond timeouts. (select_stuff::wait): Implement microsecond timeouts with a timer object.
Diffstat (limited to 'winsup/cygwin/select.h')
-rw-r--r--winsup/cygwin/select.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/select.h b/winsup/cygwin/select.h
index 0035820..581ee4e 100644
--- a/winsup/cygwin/select.h
+++ b/winsup/cygwin/select.h
@@ -96,7 +96,7 @@ public:
bool test_and_set (int, fd_set *, fd_set *, fd_set *);
int poll (fd_set *, fd_set *, fd_set *);
- wait_states wait (fd_set *, fd_set *, fd_set *, DWORD);
+ wait_states wait (fd_set *, fd_set *, fd_set *, LONGLONG);
void cleanup ();
void destroy ();