Re: VFS/fcntl() feature [PATCH]
Rene Janssen (reney@plex.nl)
Fri, 28 Aug 1998 08:26:43 +0000
On Thu, 27 Aug 1998, you wrote:
>> Thats all. The program wakes up when something happens and you can do a=20
>> fstat() or readdir() to figure out _what_ the changes are. Simple, small,=
>> no obscure API.
>> Currently the only way to do this is by frequently polling which is mostl=
>> y not
>> what you would like to do.
>
>This was actually discussed at Linux Expo and before (many times), the
>favoured idea has been to allow select() on a directory to have those
>semantics. It also means "top" can select on /proc ;)
>
top can do this also with this solution, but I see the point you make. I'll give
it a try to make it select() able also. I think this feature should definitely
be in 2.3.x and up.
Cheers,
Rene.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html