🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #730

Re: threads and critical sections

#730
From: Goran Ekstrom
Date: Sun, 20 Jan 2008 18:48
5 lines
1190 bytes
> This is shows with an integer or boolean in the second thread.  Must i use 
> Critical Section when updating or is it safe to change an integer value?

Check out the "On atomic access (follow-up to 'The standard on assignment')" 
in the cppbuilder.language.cpp group, posted 15:th of December 2007.
Technical Details
Message-ID: <4793996f@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4784d07b@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,5d08ceba3672bae6
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Goran Ekstrom" <goran!removeantispam!@closetalk.se>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4784d07b@newsgroups.borland.com>
Subject: Re: threads and critical sections
Date: Sun, 20 Jan 2008 19:48:14 +0100
Lines: 7
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 90.227.238.197
Message-ID: <4793996f@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1200855407 90.227.238.197 (20 Jan 2008 10:56:47 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail