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
Why is C language being considered a middle level language?
Explain the meaning of keyword 'extern' in a function declaration.
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
What is the best way of making my program efficient?
What are two dimensional arrays alternatively called as?
what is the basis for selection of arrays or pointers as data structure in a program
Under what circumstances does a name clash occur?
Why void main is used in c?
What does a function declared as pascal do differently?
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?
Explain what is the benefit of using enum to declare a constant?
what is the difference between 123 and 0123 in c?
How can you pass an array to a function by value?
Why is it usually a bad idea to use gets()? Suggest a workaround.