Rudi Cilibrasi, Ph.D.
cilibrar at gmail.com
Wed May 2 00:42:13 PDT 2007
This sounds like a very useful direction to me... I always use select
for network programming. Best regards,
On 5/2/07, Jozef Vesely <vesely at gjh.sk> wrote:
> there are lot of programs with mainloop build around select().
> I have created wrapper arround select(), which keeps track
> of dbus's file descriptors and adds them to those, which user
> wants to select on.
> Thus any application built around select() can be integrated
> with dbus simply by replacing select() with dbus_select().
> My implementation is at:
> http: //www.kolej.mff.cuni.cz/~vesej3am/linux/dbus-select.c
> http: //www.kolej.mff.cuni.cz/~vesej3am/linux/dbus-select.h
> However it would be helpful if it could be integrated into
> libdbus since the code could be much simplified if it could
> access internals of DBusConnection and didn't have to keep
> own lists of DBusWatches and DBusTimeout.
> This was my first time with dbus, so any comments are welcomed.
> Jozef Vesely
> vesely at gjh.sk
> dbus mailing list
> dbus at lists.freedesktop.org
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dbus