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

program in c++ that can either 2 integers or 2 floating point numbers and output the smallest number

1 Answers   Anna University,


What are the two different types of polymorphism?

0 Answers  


difference between abstraction and encapsulation with progarammatic eg. hi,just recently i went for an interview .The interviewer asked what is the difference between abstraction and encapsulation with programmatic eg. I gave the answer as encapsulation mean hiding the relevant data which is not useful for the user, eg a electric fan .hiding the information how the electricity is converted into machanical energy. abtraction showing only the relevant data to the user eg electric fan. it look ,its color ,it design etc only relevant data. Then the interviewer asked me, give me some programmic eg .I Said Let assume a web form having control like textbox,button etc. The user can view textbox,button etc this is the eg of abstraction and when the user click on the button how he is redirected is not known by the user is the eg of the encapsulation. Am I Correct .was the answer given by me is perfect .now i am planing to go for an another interview should i give the same answer.IF not please suggest me a better answer.with some good eg Please help

1 Answers  


officer say me - i am offered to a smoking , then what can you say

0 Answers  


Write a C++ program to conduct an election of a mayor.Declare a class ELECTION With the following specification: Data member: Name 25 character Age Integer symbol 1 character Member functions: To accept data for 20 contestant To accept symbol as voting from 100 voters. To declare the winner and the loser.

1 Answers   Global Academy, Infotech,


How does polymorphism work?

0 Answers  


How many human genes are polymorphic?

0 Answers  


What is destructor give example?

0 Answers  


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.

1 Answers  


What is data binding in oops?

0 Answers  


What is overriding in oops?

0 Answers  


c++ is a purely oop concept?

3 Answers   Google, TCS,


Categories