How to write Multithreaded applications using C++?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does c++ vector allocate memory?

630


How are Structure passing and returning implemented by the compiler?

700


What is the return value of the insertion operator?

713


Which is best ide for c++?

654


Who discovered c++?

656






What are pointers, when declared, intialized to a) NULL b) Newly allocated memory c) Nothing. Its random

762


Is c++ faster than c?

688


A prime number is a number which is divisible only by itself and 1. Examples of the first few primes are 2, 3, 5, 7, 11. Consider writing a program which can generate prime numbers for you. Your program should read in and set a maximum prime to generate and a minimum number to start with when looking for primes. This program should be able to perform the following tasks: 1. Read the maximum number from user (keyboard input) to look for primes. The program should not return any primes greater than this number. 2. Read the minimum number from user (keyboard input) to look for primes. The program should not return any primes less than this number. 3. Generate and print out every prime number between the maximum prime and minimum number specified by the user.

1825


What programming language should I learn first?

693


What are dynamic type checking?

696


How do you establish an is-a relationship?

705


What are punctuators in c++?

765


What does #define mean in c++?

761


To what does “event-driven” refer?

712


Which function cannot be overloaded c++?

682