|
|
Sponsor |
Re: Locking: msg#00157freedesktop.dbus
Ross Burton wrote: >Hi, > >I noticed the discussion on dispatch locking has fizzled out, and was >wondering if: > >1) this would solve the deadlock where client calls server, and before >server returns it makes a call back to client. Currently this times >out. It would solve half of the problem. Currently, IIRC, the server may deadlock internally, which means the client times out. The solution would allow the server not to deadlock internally. But whether the two programs together deadlock or not is a matter of implementation detail: whether the binding does a blocking wait with dbus_send_message_with_reply_and_block or whether it uses an event loop. If you've got both sides waiting on dbus_send_message_with_reply_and_block, they'll deadlock. The only solution to this, that I can see, is to add a DCOP-style tag to the message, indicating that it is being processed in the context of a method call. >2) can I help test any patches? If the patches would fix this problem >I'd really like to see it committed soon, as it means I don't have to >wrap large amounts of code in g_idle_add(). Our first attempt at patching backfired. There are no new patches to be tested yet. -- Thiago José Macieira - thiago.macieira AT trolltech.com Trolltech AS - Sandakerveien 116, NO-0402 Oslo, Norway
dbus mailing list dbus-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@xxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dbus
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Locking, Ross Burton |
|---|---|
| Next by Date: | Re: Locking, Havoc Pennington |
| Previous by Thread: | Locking, Ross Burton |
| Next by Thread: | Re: Locking, Havoc Pennington |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|