Re: kqueue and filenames

2012-01-23 Thread Pieter de Goeje
On 23-1-2012 11:52, Info wrote: I'm using kqueue for detecting file-events; for additional information I add a struct to udata, when registering an event with kevent. When I delete an event, will be udata deleted too, or do I have to manage the memory for the structs with an own implementation?

Re: kqueue and filenames

2012-01-23 Thread Info
Thanks for your reply! Am 23.01.2012 20:12, schrieb Pieter de Goeje: kevent is triggered when a file is renamed. How do I get the new name? Is there an extra function? In the moment, I see only the possibility by searching the filesystem(folder) for a new name. A good question to which I

Re: kqueue and polling ... are they related?

2005-10-27 Thread Erik Trulsson
On Thu, Oct 27, 2005 at 05:09:58PM +0800, ke.han wrote: Dear list, I will be using kqueue on freeBSD 6.0-rc1 and need to understand the relationship between kqueue and polling since polling support requires explicite enabling and choosing the correct ethernet drivers, etc... First, is there

Re: kqueue and polling ... are they related?

2005-10-27 Thread ke.han
None of these have any relation to polling of the network interfaces as described in the polling(4) manpage. The only connection between poll(2) and polling(4) is that they have similar names. So, to answer your question: No, you do not need to have polling enabled in order to use kqueue.

Re: kqueue

2002-09-25 Thread Kris Kennaway
On Tue, Sep 24, 2002 at 11:07:04PM +0200, Michel Oosterhof wrote: Hello. Recently I started looking into kqueue(2), and to get to know the interface better I attempted to turn usr.sbin/moused into a kqueue program (replacing the main select() loop that reads the mouse device). Since