comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam@spam.com>
Subject: Re: Format string bugs & race conditions
Date: Mon, 18 Oct 2004 00:24:25 GMT
Date: 2004-10-18T00:24:25+00:00	[thread overview]
Message-ID: <Z2Ecd.6291$6k2.448@newsread3.news.pas.earthlink.net> (raw)
In-Reply-To: <1097990937.246146@yasure>

Benjamin Ketcham wrote:

> Jeffrey Carter <spam@spam.com> wrote:
> 
>>How can you have race conditions in a sequential language?
> 
> Easy: have more than one process/thread accessing the same resources.
> Same as with a "non-sequential language".
> Note that while the language may have no concept of concurrency,
> as with C, it can still be used to write an OS or thread library
> which does implement (simulated) concurrency.  And once you
> have that, it's a quick slip down the slope to:

Then you're not talking about C/++, but about C/++ with some threading 
library. Since threading libraries differ, we'd have to know which 
library you're using, and be familiar with that library to answer your 
question.

-- 
Jeff Carter
"C++ is like jamming a helicopter inside a Miata
and expecting some sort of improvement."
Drew Olbrich
51




      parent reply	other threads:[~2004-10-18  0:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-16  9:28 Format string bugs & race conditions Hans Van den Eynden
2004-10-16 13:26 ` Stephen Leake
2004-10-16 15:09   ` Pascal Obry
2004-10-16 17:55 ` Jeffrey Carter
2004-10-17  5:28   ` Benjamin Ketcham
2004-10-17  9:14     ` Martin Dowie
2004-10-17 19:18       ` Benjamin Ketcham
2004-10-17 22:41         ` Martin Dowie
2004-10-18  7:57         ` Ole-Hjalmar Kristensen
2004-10-19 16:20           ` Warren W. Gay VE3WWG
2004-10-17 12:28     ` Marius Amado Alves
2004-10-17 17:28       ` Larry Kilgallen
2004-10-17 17:11     ` Larry Kilgallen
2004-10-18  0:24     ` Jeffrey Carter [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox