Operating System (OS) Question:
Download Questions PDF

Explain time-stamping?

Operating System (OS) Interview Question
Operating System (OS) Interview Question

Answer:

It is a technique proposed by Lam-port, used to order events in a distributed system without the use of clocks. This scheme is intended to order events consisting of the transmission of messages. Each system 'i' in the network maintains a counter Ci. Every time a system transmits a message, it increments its counter by 1 and attaches the time-stamp Ti to the message. When a message is received, the receiving system 'j' sets its counter Cj to 1 more than the maximum of its current value and the incoming time-stamp Ti. At each site, the ordering of messages is determined by the following rules: For messages x from site i and y from site j, x precedes y if one of the following conditions holds....(a) if Ti<Tj or (b) if Ti=Tj and i<j.

Download Operating System (OS) Interview Questions And Answers PDF

Previous QuestionNext Question
What is the Buddy system of memory allocation in Operating System (OS)?Tell me if you know how are the wait/signal operations for monitor different from those for semaphores?