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 is the best ide for c++?

794


Evaulate: 22%5 a) 2 b) 4 c) 0

855


What are stacks? Give an example where they are useful.

772


What are guid?

952


Why do we use structure in c++?

772


State the difference between pre and post increment/decrement operations.

817


What does asterisk mean in c++?

824


What is a container class? What are the types of container classes in c++?

879


What are the various operations performed on stack?

816


What is meant by the term name mangling in c++?

716


Can I learn c++ without knowing c?

798


What is ios in c++?

903


How the endl and setw manipulator works?

747


Mention the ways in which parameterized can be invoked. Give an example of each.

787


What is the difference between a pointer and a link in c ++?

768