what is multithreading in c++ ,
what is difference between multithreading and
singlethreading.
Answers were Sorted based on User's Feedback
Answer / lp
C++ allows to to build your own multi-threading libraries by
making use of system calls, but there is no standardized
support for multi-threading. Reasons? Following are the few
of them:
1. You decide the performance of your system by designing
simplified wrappers over the system call to support
multithreading. Get-What-You-Want and Pay-For-What-You-Want,
Dont-pay-for-what-you-dont-want!!
2. Standardizing support may hide some powerful system
level functionality unique to a a particular
multi-threaded-processor!
| Is This Answer Correct ? | 19 Yes | 4 No |
Answer / kanthi
Multithreading in c++???
As far as i know, c++ does not provide any language level
support for multithreading. If it is to be implemented
using c++, then it cannot be done without the support of
the underlying operating system which makes things a little
more complicated, unlike java, where a language level
support is provided for the same.
And, difference between multithreading and single-
threading: Multithreading is one form of multitasking where
a single big task is divided into independent, simultaneous
operations which can run together so that subtasks
independent of eachother can be implemented at once to
improve efficiency.
| Is This Answer Correct ? | 21 Yes | 16 No |
Answer / micah hoover
The next version of C++ (C++0x) is basically C++ with boost,
and boost has thread implementation. A lot of C++ frameworks
(like Qt, MFC, .NET, etc) roll their own flavor of threading.
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / amit
hey ,c++ supports multithreading by the use of POSIX threads
,who the hell is saying that c++ does not support
multithreading ,the linux operating system made in c,c++ and
it supports multitasking ,multiprocessing and other child
and parent relationship
| Is This Answer Correct ? | 12 Yes | 27 No |
What is multilevel inheritance in oop?
Why do we use encapsulation in oops?
class type to basic type conversion
should we use linear search or binary search if elements are placed in random order or mixed?in both cases? i need a little bit detail ans?thnks
How to use CMutex, CSemaphore in VC++ MFC
what is inline function?
1. Strong name 2. how to prevent a class from being inherited 3. delegates 4. default modifier for interface 5. default modifier for class 6. base class for exception 7. diff bet trigger and view in sql 8. how to exchange values from one page to another page 9. can multiple catch block ll be executed at same time 10. can u store different data types in an array & array list 11. when we ll use trigger 12. try,catch,finally usage
IN PROGRAMING LANGAUGE A C++ IS PURELY OBJECT ORIENTED OR NOT?
What are properties in oop?
What is the example of polymorphism?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
what is the difference between containership and inheritence?