CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Lindley

Search: Search took 0.12 seconds.

  1. Replies
    9
    Views
    67,174

    Re: Managing an array shared by multiple threads?

    ??
  2. Replies
    9
    Views
    67,174

    Re: Managing an array shared by multiple threads?

    Arguably the two most important things to be familiar with in any threading library are mutexes and condition variables. The former allow you to protect important data structures and variables from...
  3. Replies
    9
    Views
    67,174

    Re: Managing an array shared by multiple threads?

    Just use a mutex from your threading library. There's little point in trying to invent your own locking mechanism (which won't work as shown above, since even boolean assignments are not guaranteed...
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured