Regarding your question: Is the atomic{}; construct equivalent to the 
STM concept?

The technical details matter, so please read the language spec, Section 
14.7. There are many STM definitions, so you will need to read the spec 
to figure out how the spec relates to the STM that you care about.

The short answer is that, in general, an STM may be used to implement 
X10 atomics, but so may locks.

The current implementation uses a single lock per place.


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to