|
|
@ -24,6 +24,7 @@ int64 io_canwrite() {
|
|
|
|
if (!e) break;
|
|
|
|
if (!e) break;
|
|
|
|
r=first_writeable;
|
|
|
|
r=first_writeable;
|
|
|
|
first_writeable=e->next_write;
|
|
|
|
first_writeable=e->next_write;
|
|
|
|
|
|
|
|
e->next_write=-1;
|
|
|
|
debug_printf(("io_canwrite: dequeue %lld from normal write queue (next is %ld)\n",r,first_writeable));
|
|
|
|
debug_printf(("io_canwrite: dequeue %lld from normal write queue (next is %ld)\n",r,first_writeable));
|
|
|
|
if (e->wantwrite && e->canwrite) {
|
|
|
|
if (e->wantwrite && e->canwrite) {
|
|
|
|
#ifdef HAVE_SIGIO
|
|
|
|
#ifdef HAVE_SIGIO
|
|
|
|