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 benefits of pointers?

0 Answers  


What are the advantages of prototyping?

0 Answers  


If you don’t declare a return value, what type of return value is assumed?

0 Answers  


What is the best c++ compiler?

0 Answers  


Can a function take variable length arguments, if yes, how?

0 Answers  






Are c and c++ different?

0 Answers  


What are the 2 main types of data structures?

0 Answers  


What is the best way to declare and define global variables?

0 Answers  


Can a constructor return a value?

0 Answers  


What is the difference between structures and unions?

0 Answers  


Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work

0 Answers  


What is the most powerful coding language?

0 Answers  


Categories