Search:

Type: Posts; User: Sanches

Search: Search took 0.01 seconds.

  1. Replies
    25
    Views
    8,307

    Really nice paper. Probably one knows how this...

    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++...
  2. Replies
    10
    Views
    2,609

    I have no choice. I do need to optimize...

    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...
  3. Replies
    25
    Views
    8,307

    Ok, I see. Means, that it works on my PC could...

    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...
  4. Replies
    10
    Views
    2,609

    Atomicity is confusin me

    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...
  5. Replies
    25
    Views
    8,307

    Double-Check Locking in C++

    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...
Results 1 to 5 of 5