[PATCH] Send the bus context into the dir watches so we can
avoid conditional code
John (J5) Palmieri
johnp at redhat.com
Thu Oct 19 12:05:09 PDT 2006
Woops, got my init scripts changes in that patch. Here is the updated
On Thu, 2006-10-19 at 15:01 -0400, John (J5) Palmieri wrote:
> 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.
> dbus mailing list
> dbus at lists.freedesktop.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2877 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20061019/dc3f0ffe/dbus-send-bus-context-to-dir-watches.bin
More information about the dbus