Signals & threads - low level C API [Newbie question]

Thiago Macieira thiago at
Sat Jan 27 01:04:24 PST 2007

Krishna R wrote:
>Hmm looks like this may not be it. It works great except that the filter
>func is never called to rcv the *first* message sent.

Correct. You need to verify if the dispatch status is DATA_REMAINS every 
time you do a read/write action (like 
dbus_connection_send_with_reply_and_block). This means you need to wake 
up your "mainloop" implementation just as if there had been activity on 
the socket.

  Thiago Macieira  -  thiago (AT) - thiago (AT)
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the dbus mailing list