Article View: nl.comp.programmeren
Article #498Re: Threads in C#
From: Stefan Arentz
Date: Mon, 08 Sep 2003 19:46
Date: Mon, 08 Sep 2003 19:46
16 lines
1906 bytes
1906 bytes
"Geert M" <mvmelle@yahoo.com> writes: > Ik heb een soortgelijk probleem in dotnet (wel vb.net) maar de logica blijft > dezelfde. > Ik wil eenzelfde functie 5 maal tegelijk laten lopen (in 5 simultane gelijke > threads). Het probleem is dat ze dezelfde connectie naar een SQL server > hebben. Als de ene thread de connectie opent, kan de andere ze ondertussen > terug sluiten, ... > Dat "locken" van een stuk van de thread bleek niet echt de oplossing te > zijn. > Iemand suggesties tot oplossing. Pooled database connecties gebruiken? Vrij standaardin Java. Zal in .Net ook wel bestaan. S.
Technical Details
Message-ID:
<877k4jnjvo.fsf@keyser.soze.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!news.mailgate.org!newsfeed.wirehub.nl!kleenex.wirehub.nl!news.wirehub.nl!not-for-mailReferences:
<bja3q9$kfs$1@nl-news.euro.net> <3f5cdbb2$0$13870$ba620e4c@reader0.news.skynet.be>Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: 107324,47a43a2247029a5f X-Google-Attributes: gid107324,public X-Google-Thread: fcea4,47a43a2247029a5f X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2003-09-08 12:49:58 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!news.mailgate.org!newsfeed.wirehub.nl!kleenex.wirehub.nl!news.wirehub.nl!not-for-mail From: Stefan Arentz <stefan.arentz@soze.com> Newsgroups: nl.comp.programmeren,be.comp.programming Subject: Re: Threads in C# Date: 08 Sep 2003 21:46:35 +0200 Organization: Wirehub! Internet, The Netherlands Lines: 16 Message-ID: <877k4jnjvo.fsf@keyser.soze.com> References: <bja3q9$kfs$1@nl-news.euro.net> <3f5cdbb2$0$13870$ba620e4c@reader0.news.skynet.be> NNTP-Posting-Host: newsreader1.wirehub.nl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: thor.wirehub.nl 1063050587 37308 195.86.128.18 (8 Sep 2003 19:49:46 GMT) X-Complaints-To: abuse@wirehub.net NNTP-Posting-Date: 8 Sep 2003 19:49:46 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Cache-Post-Path: newsreader1.wirehub.nl!unknown@keyser.soze.com X-Cache: nntpcache 2.4.0b2 (see http://www.nntpcache.org/)