Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 is code for call by value and call by reference?

1 Answers  


Why do while loop is used?

0 Answers  


difference between class and object

10 Answers   Chandan, IBM, Magic Soft,


write knight tour problem which is present in datastructure

0 Answers  


Why do we use virtual functions?

4 Answers  


what is the advantage in software? what is the difference between the software developer and Engineer

1 Answers  


What do you mean by binding of data and functions?

3 Answers  


What is encapsulation and abstraction? How are they implemented in C++?

0 Answers   Agilent, ZS Associates,


What does it mean when someone says I oop?

0 Answers  


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

0 Answers  


what is the abstract class,interface ,its difference with a programatic eg.? hi,recently i went for an interview they ask me what is abstract class ,interface and its difference I said abstract class contain abstact method ,abstract method is a method with no body.Abstract class cannot be instantiated.Abstract class is a base class it required derived class for the implementation of method. Interface is a syntactical contract that all derived class should follow it define properties ,method,events which are known as member of interface. Then They asked me what is the difference between them. I said abstract class interface 1.abstact class can implement method 1.interface cant 2.abstact class can contain constructor, 2.interface cant destructor 3.abstract class cannot support multiple 3.interface support inheritance etc Then they said some different answer I said dont no. Then they ask me when i should make abstract class for an project and when i should make interface. I said if suppose there is two class which must be having method with different logic then we sholud make abstract class. and if suppose we have two class having method .with different logic then we can make interface . Am i correct with my explaination.if not correct me .please provide me that when should we create abstract class and interface and what is difference .please help me

1 Answers  


What is the example of polymorphism?

0 Answers  


Categories