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

How do you clear a map in c++?

0 Answers  


What is meant by reference variable in C++?

1 Answers  


What is the difference between an enumeration and a set of pre-processor # defines?

0 Answers  


What is the copy-and-swap idiom?

0 Answers  


What does override mean in c++?

0 Answers  


Explain how a pointer to function can be declared in C++?

0 Answers  


In a function declaration, what does extern mean?

0 Answers  


Who discovered c++?

0 Answers  


What is the benefit of encapsulation?

0 Answers  


What sorting algorithm does c++ use?

0 Answers  


Which is best c++ or java?

0 Answers  


What is the difference between static global and global ?

2 Answers   CA,


Categories