How to write Multithreaded applications using C++?

Answers were Sorted based on User's Feedback



How to write Multithreaded applications using C++?..

Answer / mms zubeir

Well, ISO C++ doesn't provide the mechanisms to control
over operating system devices like thread. We need to use
the support provided by the operating system SDKs or any
third party libraries. For example, Win32's CreateThread()
API would help.

Is This Answer Correct ?    8 Yes 2 No

How to write Multithreaded applications using C++?..

Answer / peter_2012

It depends most of for what kind of system we will use to
run application.
Linux - standard POSIX pthread library coud be used (it is
C thrading implementation),
Windows - Win32 API,
or we can use boost threading library wich provides sets of
objects for thread creation and synchronization.

Is This Answer Correct ?    8 Yes 2 No

Post New Answer

More C++ General Interview Questions

How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?

0 Answers  


How can I learn c++ easily?

0 Answers  


Can comments be longer than one line?

0 Answers  


Difference between delete and free.

0 Answers  


Write a program to swap 2 chars without using a third varable? char *s = "A"; char *p = "B";

7 Answers   CTS,






What are static member functions?

0 Answers  


What is the type of 'this' pointer? When does it get created?

0 Answers  


Is java based off c++?

0 Answers  


Shall we use 'free' to free memory assigned by new, What are the further consequences??

5 Answers   Symphony,


What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack

0 Answers  


Why c++ is so important?

0 Answers  


What is a terminating character in c++?

0 Answers  


Categories