[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
one.

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
> http://lists.freedesktop.org/mailman/listinfo/dbus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-send-bus-context-to-dir-watches.patch
Type: text/x-patch
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 mailing list