Tracking DBusWatches

Thiago Macieira thiago at kde.org
Fri Feb 9 16:12:43 PST 2007


tsuraan wrote:
>What purpose does a "proper mainloop" serve?  Is the idea to actually
>run the entire application in a single thread?  Most of the computers
>I use are dual or quad processor computers, so it would be a pity to
>have my entire program in a single thread.

Fortunately for you, you run more than one application on those systems. 
I'm sure your kernel scheduler can find tasks to keep those other cores 
busy.

If you want to use the thread, you can. I'm just telling you it's an added 
complexity that you don't need.

-- 
  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: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20070210/1c87b3b4/attachment.pgp


More information about the dbus mailing list