what is the advantage of using SEMAPHORES to ORDINARY
VARIABLES???
Answer Posted / test
semaphores helps is a varible which is used to protect the shared data .hence avoiding the coruption of data by the threads acting simultaniously..
| Is This Answer Correct ? | 7 Yes | 4 No |
Post New Answer View All Answers
C program to find all possible outcomes of a dice?
How can you tell whether a program was compiled using c versus c++?
Explain what are linked list?
What is a newline escape sequence?
Can you mix old-style and new-style function syntax?
Is null valid for pointers to functions?
Why can’t constant values be used to define an array’s initial size?
What is a macro in c preprocessor?
What is the heap in c?
Is null equal to 0 in sql?
How important is structure in life?
how should functions be apportioned among source files?
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
What is the sizeof () a pointer?
What does the function toupper() do?