simple application without main loop

Fritz Code codefritz at googlemail.com
Thu May 22 09:56:22 PDT 2008


Hi,

I wann  write a simple application and if possible without a main loop.
All the application does is to send a signal to the bus.
Then is should receive and process replys for a specific time e.g. 10
seconds.
I've tried to do this with a loop like this:
 while( dbus_connection_read_write_dispatch(getBus(),-1) )
    ;


-- 
Regards,
--Codefritz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/dbus/attachments/20080522/57e4677a/attachment.html 


More information about the dbus mailing list