You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
375 B
C
16 lines
375 B
C
11 years ago
|
#include "io_internal.h"
|
||
|
|
||
|
void io_eagain_read(int64 d) {
|
||
|
io_entry* e=iarray_get(&io_fds,d);
|
||
|
if (e) {
|
||
|
e->canread=0;
|
||
|
#if defined(HAVE_SIGIO) || defined(HAVE_EPOLL)
|
||
|
if (d==alt_firstread) {
|
||
|
debug_printf(("io_eagain: dequeueing %lld from alt read queue (next is %ld)\n",d,e->next_read));
|
||
|
alt_firstread=e->next_read;
|
||
|
}
|
||
|
#endif
|
||
|
e->next_read=-1;
|
||
|
}
|
||
|
}
|