David Xu
323fe56580
In aio_waitcomplete, do not return EAGAIN if no other threads
...
have started aio, instead, initialize aio management structure
if it hasn't been done, the reason to adjust this behavior is
to make it a bit friendly for threaded program, consider two
threads, one submits aio_write, and another just calls
aio_waitcomplete to wait any I/O to be completed and recycle the
aio requests, before submitter doing any I/O, the recycler wants
to wait in kernel. This also fixes inconsistency with other aio
syscalls.
2005-11-08 23:48:32 +00:00
..
2005-11-05 19:48:53 +00:00
2005-11-05 19:48:53 +00:00
2005-11-08 13:01:29 +00:00
2005-11-03 07:35:36 +00:00
2005-09-16 01:26:17 +00:00
2005-10-31 15:41:29 +00:00
2005-11-07 16:57:14 +00:00
2005-11-08 22:51:43 +00:00
2005-11-08 20:08:34 +00:00
2005-08-18 00:30:22 +00:00
2005-10-24 15:21:36 +00:00
2005-11-08 22:51:43 +00:00
2005-10-31 15:41:29 +00:00
2005-10-31 15:41:29 +00:00
2005-10-31 15:41:29 +00:00
2005-08-09 10:20:02 +00:00
2005-11-08 22:12:26 +00:00
2005-11-04 18:03:24 +00:00
2005-09-28 15:01:58 +00:00
2005-10-31 15:41:29 +00:00
2005-11-08 23:48:32 +00:00
2005-10-31 15:41:29 +00:00
2005-11-08 22:51:43 +00:00
2005-11-08 20:08:34 +00:00
2005-11-02 13:46:32 +00:00
2005-09-11 16:04:56 +00:00
2005-10-31 15:41:29 +00:00
2005-11-08 09:03:06 +00:00
2005-11-08 20:08:34 +00:00
2005-10-31 23:06:04 +00:00
2005-11-02 13:46:32 +00:00
2005-11-02 13:46:32 +00:00
2005-10-31 15:41:29 +00:00
2005-09-07 10:06:14 +00:00
2005-10-31 15:41:29 +00:00
2005-10-31 15:41:29 +00:00
2005-07-14 20:08:27 +00:00
2005-10-31 15:41:29 +00:00
2005-11-03 19:24:54 +00:00
2005-10-31 15:41:29 +00:00
2005-08-18 11:58:03 +00:00
2005-10-28 15:30:51 +00:00
2005-09-25 21:29:32 +00:00
2005-10-31 21:37:27 +00:00
2005-10-18 11:46:24 +00:00
2005-11-08 06:49:45 +00:00
2005-09-19 16:51:43 +00:00
2005-10-31 15:41:29 +00:00
2005-11-03 21:08:20 +00:00
2005-11-08 09:09:26 +00:00
2005-09-24 20:11:07 +00:00
2005-11-07 18:25:23 +00:00
2005-11-08 06:33:21 +00:00