More appropriate phyOnUnixClose handling
This commit is contained in:
parent
6338a4933b
commit
bb912cff30
2 changed files with 18 additions and 15 deletions
|
@ -814,7 +814,6 @@ public:
|
|||
|
||||
tv.tv_sec = (long)(timeout / 1000);
|
||||
tv.tv_usec = (long)((timeout % 1000) * 1000);
|
||||
//fprintf(stderr, "Phy.poll()\n");
|
||||
if (::select((int)_nfds + 1,&rfds,&wfds,&efds,(timeout > 0) ? &tv : (struct timeval *)0) <= 0)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue