Search:

Type: Posts; User: Elysia

Search: Search took 0.20 seconds.

  1. Replies
    13
    Views
    4,218

    But like you see, it's slowly getting there ;)...

    But like you see, it's slowly getting there ;)
    So why not start using them?

    As for the rest... I didn't question your need for a smart pointer. I questioned the need for wrapping your critical...
  2. Replies
    13
    Views
    4,218

    I would avoid Borland C++. It is obviously not...

    I would avoid Borland C++. It is obviously not very good compared to other free compilers (such as GCC and Visual C++ which both have C++0x support).
    I was merely wondering how you intended to use...
  3. Replies
    13
    Views
    4,218

    So you are using some compiler that is not Visual...

    So you are using some compiler that is not Visual C++ or GCC?


    DLL exports make things slightly more complicated, but the basic idea would be the same. You just have to make sure that the...
  4. Replies
    13
    Views
    4,218

    The way I see it, there are two solutions: 1)...

    The way I see it, there are two solutions:

    1) Use pointers with exclusive ownership and store them in the map. Wait until all threads terminate before clearing the map. if you then populate the...
  5. Replies
    13
    Views
    4,218

    All the operations on the block pointer and any...

    All the operations on the block pointer and any of its data must be atomic, because several threads can access them at once. If you make sure they're atomic, there should be no problems that I can...
  6. Replies
    13
    Views
    4,218

    The best bet, I think, is simply to create a new...

    The best bet, I think, is simply to create a new smart pointer for thread B. This will avoid racing conditions without additional coding. You could add debug statements to "lock" a shared pointer to...
Results 1 to 6 of 6