How to write Multithreaded applications using C++?

Answers were Sorted based on User's Feedback



How to write Multithreaded applications using C++?..

Answer / mms zubeir

Well, ISO C++ doesn't provide the mechanisms to control
over operating system devices like thread. We need to use
the support provided by the operating system SDKs or any
third party libraries. For example, Win32's CreateThread()
API would help.

Is This Answer Correct ?    8 Yes 2 No

How to write Multithreaded applications using C++?..

Answer / peter_2012

It depends most of for what kind of system we will use to
run application.
Linux - standard POSIX pthread library coud be used (it is
C thrading implementation),
Windows - Win32 API,
or we can use boost threading library wich provides sets of
objects for thread creation and synchronization.

Is This Answer Correct ?    8 Yes 2 No

Post New Answer

More C++ General Interview Questions

What are the advantages of c++?

3 Answers  


What are the advantages of C++ programming compared to C programming?

2 Answers   HAL,


Explain how the virtual base class is different from the conventional base classes of the opps.

0 Answers  


Who invented turbo c++?

0 Answers  


int main() { int i ,a[i]; i = 0; a[i] = 10; cout<< a[i] << endl; return 0; } What will be output of this program?

11 Answers   HCL, Mphasis,


What do you mean by early binding?

0 Answers  


In c++, what is the difference between method overloading and method overriding?

0 Answers  


What is the difference between while and do while loop? Explain with examples.

0 Answers  


What are member functions used in c++?

0 Answers  


What does scope resolution operator do?

0 Answers  


What is the use of map in c++?

0 Answers  


What are advantages of using friend classes?

0 Answers  


Categories