Article View: borland.public.cppbuilder.nativeapi
Article #6253Re: threads memory access
From: Jonathan Benedicto
Date: Mon, 30 May 2005 20:24
Date: Mon, 30 May 2005 20:24
12 lines
1680 bytes
1680 bytes
"bogon" <foo@bar> wrote in message news:429b5bdb$1@newsgroups.borland.com... > Jonathan : To reduce the size and amount of time spent within the > Critical Section, you might consider using a Critical Section to > manage only the 'Boolean lock' access then you can be certain of the > 'lock' status ie. <CS begin>test or transition boolean/<CS end>. > It also means only the entry you're working on is restricted (by the > CS) rather than the entire vector. Thank you, yes that is how I was going to do it. Jonathan
Technical Details
Message-ID:
<429b768c@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<428e4b3f$1@newsgroups.borland.com> <4291c5b1$1@newsgroups.borland.com> <4291ed05$1@newsgroups.borland.com> <429354a6@newsgroups.borland.com> <429356ac$1@newsgroups.borland.com> <429b5bdb$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f662da50ec5f6f69 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Jonathan Benedicto" <incorrect@no.server> Newsgroups: borland.public.cppbuilder.nativeapi References: <428e4b3f$1@newsgroups.borland.com> <4291c5b1$1@newsgroups.borland.com> <4291ed05$1@newsgroups.borland.com> <429354a6@newsgroups.borland.com> <429356ac$1@newsgroups.borland.com> <429b5bdb$1@newsgroups.borland.com> Subject: Re: threads memory access Date: Mon, 30 May 2005 16:24:46 -0400 Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 69.158.104.202 Message-ID: <429b768c@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1117484684 69.158.104.202 (30 May 2005 13:24:44 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail