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 can you quickly find the number of elements stored in a dynamic array? Why is it difficult to store linked list in an array?
Can c++ be faster than c?
What does count ++ do in c++?
Can constructor be static in c++?
What are raw sockets, where they are efficient?
What are the main differences between C and C++?
How compile and run c++ program in turbo c++?
Give 10 points of differences between C & C++.
How does list r; differs from list r();?
Can you use the function fprintf() to display the output on the screen?
Write a corrected statement in c++ so that the statement will work properly. if (x > 5); y = 2*x; else y += 3+x;
How does atoi function work?