Article View: borland.public.cppbuilder.nativeapi
Article #9566Re: Affecting a TThread owned variable
From: Remy Lebeau (TeamB)
Date: Sun, 04 Jul 2004 19:36
Date: Sun, 04 Jul 2004 19:36
15 lines
1326 bytes
1326 bytes
"Ron Sawyer" <XXXRSAWYER8128XQQXX@aol.com> wrote in message news:40e80626@newsgroups.borland.com... > What must I do to make sure that I am adding things > in a thread-safe manner? <snip> > What must I do to make sure that I am removing things > in a thread-safe manner? Make sure that you are using a critical section, mutex, semaphore, etc. whenever you are accessing the queue. Gambit
Technical Details
Message-ID:
<40e85c26$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40e80626@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,de47f0217318ee58 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <40e80626@newsgroups.borland.com> Subject: Re: Affecting a TThread owned variable Date: Sun, 4 Jul 2004 12:36:25 -0700 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.10 Message-ID: <40e85c26$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1088969766 68.69.17.10 (4 Jul 2004 12:36:06 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail