There is some data related to temperatures of different cities. One side(thread), will be updating the values and multiple clients will be reading the values. how do you achieve synchronization?
Answer / mskumar
My Answer was:-
Thread updating the data:- Should acquire the MUTEX lock and update the data & release the MUTEX.
While threads try to read the Data :- Should acquire the lock such that only read access allowed during the lock, not the write lock so that any no.of clients trying to read can read at the same time.
Can some give me thier thoughts if any?
| Is This Answer Correct ? | 1 Yes | 1 No |
Define page fault interrupt?
What is the difference between shared memory and message passing?
What is system unit?
How much ram can you put in a 64 bit system?
What is dlm?
What is the latest version of mint?
Describe Inter Machine Communication?
How does operating system kernel work?
How much ram do I have?
Can you please explain the difference between load-time dynamic linking and run-time dynamic linking?
How does agile communication differ from tradition software engineering communication? How it is similar?
What are differences between ram and rom?