Persistent
Company
Category
There is a file server which provides locking for mutual exclusion . if any process locks the file and abruptly terminated this will result in indefinitely locking .
The solution they found is to implement a timer for locking of file i.e. if time outs then server assumes that file is indefinitely locked and terminate the process ?
a) this solution is perfect for mutual exclusion
b) this will solve indefinite locking
c) this will result in interleaving of file between processes
d) will allow the concurrent process to access the file.
Read Solution (Total 3)
-
- i think the ans is (c) beacuse the time for execution of a process may be greater then the timeout...so when timeout happens the process will be killed by the server ..so at that time another process can access the file so there can be interleaving of file
- 8 years agoHelpfull: Yes(9) No(1)
- ans A)
becoz This the definition of mutual exclision. - 9 years agoHelpfull: Yes(1) No(3)
- I think answer is b) because they are providing solution to indefinite locking
- 8 years agoHelpfull: Yes(0) No(1)
Persistent Other Question