what are threads ? why they are called light weight
processes ? what is the relation between process and threads ?

Answer Posted / palani222samy

thread is an execute the more process an single process

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between if else and switchstatement

1320


How do we print only part of a string in c?

593


What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?

596


int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer

665


How do I create a directory? How do I remove a directory (and its contents)?

611






What is the ANSI C Standard?

784


Explain the ternary tree?

607


Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

754


Can a local variable be volatile in c?

584


Why we use int main and void main?

545


while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above

752


What are Macros? What are its advantages and disadvantages?

653


Is c is a low level language?

569


When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?

813


What is the difference between exit() and _exit() function in c?

590