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

Explain differences between alloc() and free()?

0 Answers  


Discussion on error handling of C++ .

0 Answers  


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

0 Answers  


How many lines of code you have written for a single program?

4 Answers   BoA,


Difference between overloading vs. Overriding

0 Answers  






i have given a project to create examination seating plan system in c++. so can anyone send me the answer of this question quickly??????

1 Answers  


What is a literal in c++?

0 Answers  


Should I learn c or c++ first?

0 Answers  


Differences between private, protected and public and give examples.

0 Answers  


What is abstract keyword in c++?

0 Answers  


What is static function? Explain with an example

0 Answers  


What is a manipulative person?

0 Answers  


Categories