Newsgroups: comp.lang.fortran, comp.std.c
From: kuy...@wizard.net (James Kuyper)
Date: 14 Jun 2003 13:53:31 -0700
Local: Sat, Jun 14 2003 4:53 pm
Subject: Re: thread safety
Dan Nagle <dna...@erols.com> wrote in message <news:74ijevo11fao36lises4ff6e5aj2tnbu14@4ax.com>... It describes an execution environment in which the possibility of > Hello, > On Thu, 12 Jun 2003 12:17:51 -0700, "E. Robert Tisdale" > The second paragraph of C99 5.1.2.3 is becoming notorious. :-) multiple threads has not even been considered, which means that in some ways it implicitly assumes single-threaded behavior. Therefore, a conforming implementation of C on a platform which supports multiple threads, can compile a strictly conforming program to make use of multiple threads, only by invoking the "as-if" rule. That means, basically, that the observable results of the multi-threaded behavior must be essentially the same as if 5.1.2.3 had been followed literally for some permitted order of evaluation of the statements and expressions that make up the program. This provides only a very limited amount of freedom for multi-threaded implementation of the program. It's not enough to be really useful, in itself. However, any program that makes real use of threads will have behavior You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||