Parallel Processing in win32

Home Forums C Programming Parallel Processing in win32

This topic contains 1 reply, has 2 voices, and was last updated by  shalizy 10 years, 8 months ago.

  • Author
  • #1988


    I am new to the forum. I am doing some kind of C++ programming. which is win32 console application in a .NET IDE. Actually I had 10 different objects they call a particular function to accomplish their task. for eg

    what happens the dosomethings() function is called sequencially and done one after another and takes 10 second. Can I reduce the time by making use of threads. How to know about threads as beginner. Any site which is useful as a tutorial for me.
    Please suggest

  • #3239


    You can do but code should be parallel. Here function is same,That’s fine. But No variables b/w  those call should not be shared.

    Example: Parallel programming using By OpenMP API

    Then Here three threads execute parallelly.

You must be logged in to reply to this topic.