From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,892f841b317b302e X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news.illinois.net!attcg1!ip.att.net!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: Format string bugs & race conditions Date: 17 Oct 2004 12:11:38 -0500 Organization: LJK Software Message-ID: References: <1c2f5137.0410160128.7ef88436@posting.google.com> <1097990937.246146@yasure> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1098033093 5405 192.135.80.34 (17 Oct 2004 17:11:33 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Sun, 17 Oct 2004 17:11:33 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:5371 Date: 2004-10-17T12:11:38-05:00 List-Id: In article <1097990937.246146@yasure>, Benjamin Ketcham writes: > Jeffrey Carter wrote: >> Hans Van den Eynden wrote: >> >>> In C/C++ there is a major problem with "Format string bugs" & "race >>> conditions". Can this appear in ada??? and if soo how?? >> >> 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. On a multiprocessor system that concurrency might not just be simulated.