lkml.org 
[lkml]   [2002]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] async poll for 2.5
Charles 'Buck' Krasic wrote:

>You can argue that any API is subtly error prone.
>
You can also argue that the earth is flat. It's just that some
arguments have more basis than others.

>With /dev/epoll, it is perfectly feasible to write user level
>wrapper libraries that help avoid the potential pitfalls.
>
In other words, you don't deny the problem. Instead, you work around it
in user space.

Better to fix the API. The kernel has more information than user space
and can do a better job. In the kernel, the problem can be fixed once
and for all, not over and over again in each different wrapper library.
It's not even as if the change would break programs correctly written
to the old API, not that we particularly care about programs written to
the old API.

[unhandled content-type:application/x-pkcs7-signature]
\
 
 \ /
  Last update: 2005-03-22 13:30    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site