Multithreding...

Thiago Macieira thiago at kde.org
Mon Feb 26 05:45:49 PST 2007


Vaillant Etienne wrote:
>in my application, I have many threads and at a moment two thread work
>on the same connection :
>
>  - the first enter in "dbus_connection_pop_message"
>  - and the second in "dbus_connection_send"
>
>but the first thread failed on "HAVE_LOCK_CHECK (connection);" and core.

Make sure your application called dbus_threads_init_default(); when 
starting up.

-- 
  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/20070226/21961e4c/attachment.pgp


More information about the dbus mailing list