Article View: borland.public.jbuilder.database
Article #301Re: Deadlock using Load.ASYNCHRONOUS
From: Nicolas GASNIER
Date: Fri, 30 Mar 2007 13:29
Date: Fri, 30 Mar 2007 13:29
40 lines
2444 bytes
2444 bytes
> Some questions: > > 1) You imply that both the detail and master datasets are using the "same" > instance of QueryProvider. Is that correct? I tried the JBuilder deadlock monitor to find where the lock is, and it seems to happen between two threads that wait for the monitor on the provider. > > 2) If so I would question the wisdom of this.. (DX if left to it's > defaults creates a new instance of the default QueryProvider for each > instance of QueryDataSet. (example out of DX QueryDataSet source**) >..... > So.. I would guess you could be doing something else that is forcing the > QueryDataSet to share a Provider.. (Maybe you should not be doing > that..??) I never change the provider, it is always left to default. May the lock be due to the fact that two dataset, event with different providers, can't provide simultaneously ? When I launch my app main window, there is two components that will open their respective dataset, and sometimes they are in conflict to get a lock on something internal to data express... > > Hope that helps.. > > John.. > > > > > -- > ============================================= > TeamB are volunteer helpers. Please DO NOT REPLY VIA EMAIL! > Post all questions and replies to this newsgroup ONLY > For papers on DataExpress, Applets, JSP, and Web Development go to: > http://www.microps.com/mps/paperFAQ.html > ====================================================
Technical Details
Message-ID:
<460d10c5$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<45f95f4c$1@newsgroups.borland.com> <45fae68c$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1073da,fb15afe4eee0d18e 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 References: <45f95f4c$1@newsgroups.borland.com> <45fae68c$1@newsgroups.borland.com> Subject: Re: Deadlock using Load.ASYNCHRONOUS Date: Fri, 30 Mar 2007 15:29:47 +0200 Lines: 42 Organization: RSID X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3028 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 NNTP-Posting-Host: 217.128.172.154 Message-ID: <460d10c5$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1175261381 217.128.172.154 (30 Mar 2007 06:29:41 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail