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 ago.

  • Author
    Posts
  • #1988

    serkan
    Member

    Hi,
    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
    thanks

  • #3239

    shalizy
    Member

    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.

0 Shares
Share
+1
Tweet
Share
Stumble