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 |
How does a memory leak work?
Describe the actions taken by the operating system when a page fault occurs?
What is the unified memory architecture? Explain.
Term stickily bit is related to a)kernel b)undeletable file c)none
State the advantages of segmented paging over pure segmentation?
Give a brief description of the following terms: a) Play head b) Symbol c) Tweening d) ActionScript e) Frame rate f) Library panel g) Masking h) Context – sensitive Property Inspector i) Bandwidth Profiler j) Frame Label
What are the three types of file system?
Why do we use semaphore?
What are short, longand mediumterm scheduling?
2 Answers Accenture, SwanSoft Technologies, TCS,
Define scheduling in OS.
What is semaphore and its function?
Is safari the same as internet explorer?