what is the advantage of using SEMAPHORES to ORDINARY
VARIABLES???
Answer Posted / sachin dohre
Working of Semaphore is Atomic i.e till semaphore released
no change in shared memory could occur,, while in case of
variables it could be changed while context switching
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Write a program to reverse a string.
What is the heap?
What are global variables and how do you declare them?
What is a dynamic array in c?
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
what are enumerations in C
regarding pointers concept
What is f'n in math?
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?
Simplify the program segment if X = B then C ← true else C ← false
What is meant by int main ()?
What does %c do in c?
how we can make 3d venturing graphics on outer interface
What are the disadvantages of a shell structure?