Rajesh1978
July 20th, 2007, 03:50 AM
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
MyObject1 *obj1 = new MyObject1();
obj1->dosomething();
MyObject2 *obj2 = new MyObject2();
obj2->dosomething();
MyObject3 *obj3 = new MyObject3();
obj3->dosomething();
........................
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
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
MyObject1 *obj1 = new MyObject1();
obj1->dosomething();
MyObject2 *obj2 = new MyObject2();
obj2->dosomething();
MyObject3 *obj3 = new MyObject3();
obj3->dosomething();
........................
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