the main loop

Thiago Macieira thiago at kde.org
Tue Sep 16 13:26:36 PDT 2008


sfora dim wrote:
>On Mon, Sep 15, 2008 at 12:58 PM, Macartney, Geoff
>
><gmacartney at tycoint.com> wrote:
>> I found Kimmo Hämäläinen's post below very useful in figuring out how
>> to construct a main loop, just writing in C.
>>
>> http://lists.freedesktop.org/archives/dbus/2007-October/008859.html
>
>Is it safe to use this main loop for both incoming and outgoing messges
> ?
>
>I plan to run it in a dedicated thread and let other threads send
>messages asynchronously..

It's a nice step in the right direction, but maybe not enough yet. It 
isn't handling timers. And there's the need to do dispatching outside of 
timers and socket activity too.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    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: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/dbus/attachments/20080916/2987399b/attachment.pgp 


More information about the dbus mailing list