Article View: borland.public.jbuilder.database
Article #294Deadlock using Load.ASYNCHRONOUS
From: Nicolas GASNIER
Date: Thu, 15 Mar 2007 15:00
Date: Thu, 15 Mar 2007 15:00
14 lines
1630 bytes
1630 bytes
Hi, I want to improve my user interface reactivity by setting the Load.ASYNCHRONOUS option on my QueryDataSet. On this dataset, I have a "navigated" event I use to refresh two other datasets based on the the current row ID (I don't want to use mastelinks, the detail dataset would be too big). But this sometimes causes deadlocks between the event thread and the thread of the provider. I think the first dataset I'm trying to refresh wait for the QueryProvider to be released by the main dataset, but for a reason I don't really understand, the main dataset is waiting for that too. Does anyone experienced such problem, and how did you manage to solve it ? Regards.
Technical Details
Message-ID:
<45f95f4c$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 1073da,fb15afe4eee0d18e,start X-Google-Attributes: gid1073da,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Nicolas GASNIER" <ngasnier@rsid.fr> From: "Nicolas GASNIER" <ngasnier@rsid.fr> Newsgroups: borland.public.jbuilder.database Subject: Deadlock using Load.ASYNCHRONOUS Date: Thu, 15 Mar 2007 16:00:59 +0100 Lines: 16 Organization: RSID X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3028 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 NNTP-Posting-Host: 80.118.168.219 Message-ID: <45f95f4c$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1173970764 80.118.168.219 (15 Mar 2007 07:59:24 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail