Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat https://www.fefe.de/libowfat/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
550 B

  1. #include "io_internal.h"
  2. void io_eagain(int64 d) {
  3. io_entry* e=iarray_get(&io_fds,d);
  4. if (e) {
  5. if (e->wantread) e->canread=0;
  6. if (e->wantwrite) e->canwrite=0;
  7. #ifdef HAVE_SIGIO
  8. if (d==alt_firstread) {
  9. debug_printf(("io_eagain: dequeueing %lld from alt read queue (next is %ld)\n",d,e->next_read));
  10. alt_firstread=e->next_read;
  11. }
  12. if (d==alt_firstwrite) {
  13. debug_printf(("io_eagain: dequeueing %lld from alt write queue (next is %ld)\n",d,e->next_write));
  14. alt_firstwrite=e->next_write;
  15. }
  16. #endif
  17. }
  18. }