How to write Multithreaded applications using C++?
Answers were Sorted based on User's Feedback
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 |
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 |
How do you clear a map in c++?
What is meant by reference variable in C++?
What is the difference between an enumeration and a set of pre-processor # defines?
What is the copy-and-swap idiom?
What does override mean in c++?
Explain how a pointer to function can be declared in C++?
In a function declaration, what does extern mean?
Who discovered c++?
What is the benefit of encapsulation?
What sorting algorithm does c++ use?
Which is best c++ or java?
What is the difference between static global and global ?