[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: DBUS protocol on unix pipes?
From:       Thiago Macieira <thiago.macieira () trolltech ! com>
Date:       2006-06-10 12:13:31
Message-ID: 200606101413.31427.thiago.macieira () trolltech ! com
[Download RAW message or body]


nf2 wrote:
>Aah thanks. So i need to pass the filedescriptor as command line
>parameter to the child.

That's one option. Another is to use one of the standard filedescriptors.

>And then i have to use the following internal functions on both sides?

You're not supposed to use internal functions.

>Just to explain this more precisely: The required feature would be to
>receive a callback from DBusConnection when the outgoing message queue
>is empty - to pick up the next data-chunk (like dataReq in KIO).

When the library tells you to switch off the file descriptor 
watch-for-write, that's when  you know the outgoing queue is empty.

-- 
Thiago José Macieira - thiago.macieira AT trolltech.com
Trolltech AS - Sandakerveien 116, NO-0402 Oslo, Norway

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic