what is multithreading in c++ ,
what is difference between multithreading and
singlethreading.

Answers were Sorted based on User's Feedback



what is multithreading in c++ , what is difference between multithreading and singlethreading. ..

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

what is multithreading in c++ , what is difference between multithreading and singlethreading. ..

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

what is multithreading in c++ , what is difference between multithreading and singlethreading. ..

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

what is multithreading in c++ , what is difference between multithreading and singlethreading. ..

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

Post New Answer

More OOPS Interview Questions

What do you mean by Encapsulation?

0 Answers   Ittiam Systems,


What is an example of genetic polymorphism?

0 Answers  


Differences between inline functions and non-inline functions?

4 Answers   Ness Technologies,


hi all..i want to know oops concepts clearly can any1 explain??

0 Answers   Eureka Forbes,


What is public, protected, private?

6 Answers   IBS, Satyam,


I am developing a payroll system mini project.I used file concept in program for reading and writing.When the program is reloading into the memory that is if i execute next time the file was cleaned and adding data from the starting this is my problem.I want to strore the previous data and if i want to add any record that should be next of previous data.Please help me.

0 Answers  


Can bst contain duplicates?

0 Answers  


What is the use of fflush(stdin) in c++?

4 Answers   HCL,


What is difference between multiple inheritance and multilevel inheritance?

0 Answers  


what is use to destroy an object? illustrate.

5 Answers   TCS,


What is a macro? And how is a macro same as a template?

4 Answers  


What is ambiguity in c++

4 Answers   Accenture, Mphasis,


Categories