Use high-resolution timebases for select().
* 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.
This commit is contained in:
committed by
Corinna Vinschen
parent
d5632bcfd4
commit
a23e6a35d8
@ -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 ();
|
||||
|
||||
|
Reference in New Issue
Block a user