[PATCH] Send the bus context into the dir watches so we can avoid
John (J5) Palmieri
johnp at redhat.com
Thu Oct 19 12:01:04 PDT 2006
Here is one of the FreeBSD patches needed for kqueue directory watching
to work. Before the API specified a void *userdata and there was a
patch that sent in the loop from the context on FreeBSD systems and NULL
on others. This was wrong because it added a platform conditional
outside of sysdeps. The easiest way to deal with this is to simply send
in the context to all watch modules and allow them to use or ignore it.
The kqueue module will extract the loop from the context and the dnotify
and default modules just ignore the parameter.
John (J5) Palmieri <johnp at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3872 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20061019/0becfa06/dbus-send-bus-context-to-dir-watches.bin
More information about the dbus