i have an application which is implemented with c++ and then i used
intel stm compiler to build atomic section (__tm_atomic {...}) there are
many c++ constructor in the atomic section (a = new b();) When i got
runtime statistics with stm compiler, according to the number of
serialTransaction number, i saw that those constructors inside critical
sections run in serial. But i want them to run in parallel. How can i
solve this problem? Does stm compiler support c++ constructor in the
atomic section?
ps. I defined constructor functions as a __attribute__((tm_callable)).
Is it right?
Thank you very much in advance
Gokcen


