what is multithreading in c++ ,
what is difference between multithreading and
singlethreading.

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why interface is used?

739


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1610


What is class and object with example?

803


What is class and example?

814


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

1830


What is overriding in oops?

811


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

1896


What is difference between inheritance and polymorphism?

769


#include #include #include #include void select(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); select(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void select(char *items, int count) { register int a, b, c; int exchange; char t; for(a = 0; a < count-1; ++a) { exchange = 0; c = a; t = items[ a ]; for(b = a + 1; b < count; ++b) { if(items[ b ] < t) { c = b; t = items[ b ]; exchange = 1; } } if(exchange) { items[ c ] = items[ a ]; items[ a ] = t; } } } design an algorithm for Selection Sort

2314


what's the basic's in dot net

1914


Can we define a class within the interface?

782


explain sub-type and sub class? atleast u have differ it into 4 points?

2037


Write a c++ program to display pass and fail for three student using static member function

3077


What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?

1885


Why is polymorphism important in oop?

804