[cpp-threads] pthreads (was: RE: C++ Connections proposal)
Alexander Terekhov
alexander.terekhov at gmail.com
Tue Apr 26 15:34:01 BST 2005
On 4/26/05, Peter Dimov <pdimov at mmltd.net> wrote:
[...]
> Worse, everything is a joke.
>
> int x;
>
> // thread 1
>
> void f()
> {
> }
>
> // thread 2
>
> void g()
> {
> }
>
> // undefined behavior
Yup. As long as the language doesn't address the issue of memory
isolation and "out-of-thin-air" stores (including lack of implied
cchsb on control conditions), pthreads (even under "all-XBD-4.10-
calls-are-fully-fenced" interpretation) is totally broken. XBD
4.10 defects come on top of that brokenness.
regards,
alexander.
More information about the cpp-threads
mailing list