Improve and simplify select().
* cygwait.h (cygwait_us) Remove; this reverts previous changes. * select.h: Eliminate redundant select_stuff::select_loop state. * select.cc (select): Eliminate redundant select_stuff::select_loop state. Eliminate redundant code for zero timeout. Do not return early on early timer return. (select_stuff::wait): Eliminate redundant select_stuff::select_loop state.
This commit is contained in:
committed by
Corinna Vinschen
parent
9f82de59a0
commit
472d0a228c
@@ -78,7 +78,6 @@ public:
|
||||
enum wait_states
|
||||
{
|
||||
select_signalled = -3,
|
||||
select_loop = -2,
|
||||
select_error = -1,
|
||||
select_ok = 0,
|
||||
select_set_zero = 1
|
||||
|
Reference in New Issue
Block a user