--- IO-AIO/AIO.xs 2006/10/27 20:11:58 1.82 +++ IO-AIO/AIO.xs 2006/10/28 00:17:30 1.83 @@ -612,7 +612,10 @@ req->type = REQ_QUIT; req->pri = PRI_MAX + PRI_BIAS; - req_send (req); + LOCK (reqlock); + reqq_push (&req_queue, req); + pthread_cond_signal (&reqwait); + UNLOCK (reqlock); LOCK (wrklock); --started;