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

Search:

Type: Posts; User: ClayBreshears

Search: Search took 0.02 seconds.

  1. Re: Managing an array shared by multiple threads?

    I can't add anything except to repeat the old saw: Don't reinvent the wheel. I find that (practically) every time I ask myself "Why hasn't anyone ever thought of this?", invariably someone has...
  2. Replies
    3
    Views
    51,314

    Re: Can balanced trees be thread-safe?

    Codeplug - I'll take a look at the references.

    dvyukov - Sounds simple enough.
  3. Replies
    3
    Views
    193,604

    Re: Syncronization with the hardware

    What kind of synchronization do you want done by the thread? Are you looking to have it resume processing or stop processing (the current frame) and go on to something else?

    (I'm no expert on...
  4. Replies
    3
    Views
    51,314

    Can balanced trees be thread-safe?

    I was reading the Kode Vicious column in the April 2010 issue of Communications of the ACM. He was discussing data structures as the canon of computer science, like elementary equations are the...
  5. Re: Parallel Operation Stack/Parser - Generator?

    As I see it, automatic parallelization is a dead end. There hasn't been a significant breakthrough since I first heard about the idea many, many years ago. The problem is that auto-parallelizers...
  6. Replies
    1
    Views
    26,232

    Re: unstructured concurrency

    I think you're describing what I call functional parallelism (or decomposition). Separate (heterogeneous), independent functions are each assigned to a thread in order to simplify the code and logic...
  7. Replies
    3
    Views
    38,498

    Re: The "volatile trick"

    I don't consider myself any kind of expert in this area, but I would recommend a different keyword. For something that has been established for so long, additional usage will be confusing. And, if...
  8. Replies
    1
    Views
    36,533

    Re: Parallelization Methods

    Chris -

    Excellent questions. I wish I had some brilliant and excellent answers for them.

    I've found that the platform being used rather than the computations to be done may have more influence...
  9. Replies
    3
    Views
    44,140

    Re: CreateThread API

    HanneS - What dvyukov said.

    I don't know about VB, but if you're using the C Runtime Library (CRT), _beginthreadex does a better job at initializations when starting threads. If you skip those...
  10. Replies
    2
    Views
    35,148

    Re: I/O Bound Library Support?

    "IO bound" applications were never the purview of TBB. The design was directed toward loop-level parallelism. I was trying to find a quote to that effect, but can't locate one.

    A library that...
  11. Re: Popularity of futures for asynchronous calls?

    I don't think we have any insight about what developers are using except what someone might report from a poll (and I've not seen one like this).

    The ability to perform and monitor asynchronous...
  12. Replies
    3
    Views
    37,515

    Re: Detecting Race Conditions

    If you think the iterations of a loop are independent, but you're not sure, run the loop in reverse (in serial) and check to see if you get the same answer. For example, if your for-loop goes from 0...
  13. Re: New parallel building blocks being worked on?

    As for what came first or who had the idea that was copied by the other, I think we're talking a chicken and egg question. In most cases, after an idea has been vetted as being something useful,...
  14. Re: New parallel building blocks being worked on?

    The 2.2 version of Intel Threading Building Blocks (available now) has several new parallel algorithms. These include parallel_for_each and parallel_invoke. Support for C++0X lambda functions has...
  15. Replies
    9
    Views
    58,425

    Sticky: Re: Forum is now open

    Hello, hello.

    I'm Clay Breshears and I've been doing parallel, concurrent, and multithreaded programming for over 25 years. I've been with Intel for almost ten of those, starting as a Senior...
  16. Replies
    6
    Views
    2,281

    Re: Test post

    Getting closer, then

    --clay
  17. Replies
    6
    Views
    2,281

    Test post

    Here's the code for the SyncQueue constructor.



    SyncQueue<NodeType>::SyncQueue()
    {
    Node<NodeType> *dummy = new Node<NodeType>; // Set up initial dummy node on empty queue
    head = dummy;...
Results 1 to 17 of 17





Click Here to Expand Forum to Full Width

Featured