D-BUS in KDE

Havoc Pennington hp at redhat.com
Sat Nov 6 08:50:00 PST 2004


On Sat, 2004-11-06 at 00:52 +0000, Mike Hearn wrote:
> What's wrong with using a TLS slot, ie

Well, right now you can read a response from a different thread than you
send it... thread-local storage could be useful with some of the API
(e.g. the send_with_reply_and_block()) but in the API where a single
call both sends and receives, you don't need TLS, you can just put
something on the stack. When there are separate calls that send and
receive we don't know that the same thread will invoke both calls.

Havoc




More information about the dbus mailing list