Really nice paper. Probably one knows how this situation is improved under the new standard, as there is thread support now and they should have a new memory model. See: Foundations of the C++...
Type: Posts; User: Sanches
Really nice paper. Probably one knows how this situation is improved under the new standard, as there is thread support now and they should have a new memory model. See: Foundations of the C++...
I have no choice. I do need to optimize performance. It's just for my thesis. So I can go slightly into details and it must not be used in production. Nevertheless, the upcoming C++ standard defined...
Ok, I see.
Means, that it works on my PC could be an exception.
So far the object is first be created and than afterwards assigned.
And volatile makes it work then?
Thanks for the...
Dear all,
I am totally confused about atomicity. Probably some of you are more familiar with this topic.
What I wanted to know is, if e.g. this is thread safe or not:
do {
long...
Hi
I read in wiki, that the double-check pattern can have negative side effects (depending on the language/hardware combination) and could thus be an anti-pattern. I just introduced it in our...