From: Julian S. <js...@ac...> - 2012-08-26 09:28:29
|
On Sunday, August 26, 2012, David Faure wrote: > Thiago expects that helgrind can't autodetect this case and that helgrind- > macros markup is needed in Qt, I'm fine with adding that if you guys agree > -- after you show me how by modifying the attached example :-) IIUC then, QBasicAtomicInt::{loadAcquire,storeRelease} just does normal loads and stores of an int. Right? What atomicity properties are you expecting onDemandNumber() to have? Viz, how is onDemandNumber supposed to behave when you have multiple threads doing it at the same time on the same location? J |