What is multithreading and what is its use?Whats are
multithreading techniques used in C++?

Answer Posted / pah

Threads can be used to run multiple concurrent tasks in a
single process. One use for threads is to make the user
interface responsive by running it in it's own thread and
performing heavy calculations and data manipulation in another.

C++ doesn't have any built-in multi-threading support but
you can use boost or pthread libraries for that purpose.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are literals in C++?

585


Why are pointers used?

569


What are the comments in c++?

564


What is binary object model?

592


Can malloc be used in c++?

561






If I is an integer variable, which is faster ++i or i++?

582


Why is c++ not purely object oriented?

555


How to declare an array of pointers to integer?

575


What is ostream in c++?

563


What is null and void pointer?

584


Explain what is oop?

609


Why do we need pointers?

576


What are the advantages of c++? Explain

585


What is the main purpose of c++?

533


What are guid?

679