mån 2006-10-30 klockan 20:41 +0800 skrev Adrian Chadd:
> Kqueue makes it easier (in the traditional UNIX IO method).
> It tells you how much data is available before you read/write. :)
Yes, but the copy to/from userspace is still unavoidable which is the
biggest difference. Actually knowing how much data is available is not
that big of a difference (and you don't in overlapped I/O), but allows
optimizations of buffer sizes which could help memory pressure.
Regards
Henrik
This archive was generated by hypermail pre-2.1.9 : Wed Nov 01 2006 - 12:00:06 MST