> Suppose another thread does this: > *p=99; > *p=98; Out of scope -- the C standard does not define ANY semantics for multiple threads of execution.
> The standard is discussed in terms of an abstract machine and the machine > the code is running on may bear only as much resemblance to the abstract > machine as is needed to make strictly-compliant code work. Yes. Google for "mashey volatile" will turn up some interesting stories from an expert, including this one: http://yarchive.net/comp/volatile.html /r$ -- STSM Senior Security Architect DataPower SOA Appliances ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager [EMAIL PROTECTED]