| To: | kaio@xxxxxxxxxxx |
|---|---|
| Subject: | Question about AIO behavior.... |
| From: | Christopher Smith <x@xxxxxxxx> |
| Date: | Fri, 06 Apr 2001 17:52:08 -0700 |
| Sender: | owner-kaio@xxxxxxxxxxx |
|
Okay, I am seeing some behavior from KAIO which doesn't seem entirely right
to me. If I do a read() on a socket which has no data, it blocks until
there is some data available. However, if I do an aio_read() on the socket,
it responds immediately, reading zero data, giving me that error code "29"
I mentioned previously (aio_return() gives me 0, so it really thinks it
didn't get any data). Is this actually correct AIO behavior? I thought AIO was supposed to be more of an equivlanet to read(). --Chris |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | aio_error() returning positive values???, Christopher Smith |
|---|---|
| Next by Date: | Re: Finally got things right... ;-) (signals & threads in LInux), Andrew Morton |
| Previous by Thread: | aio_error() returning positive values???, Christopher Smith |
| Next by Thread: | Re: Question about AIO behavior...., Christopher Smith |
| Indexes: | [Date] [Thread] [Top] [All Lists] |