3 ms·
Replying here since I can't reply to your deeper comment. A client can never know with certainty that it has successfully acquired the lock because, for exampl
by carllerche 11y ago
Replying here since I can't reply to your deeper comment.
A client can never know with certainty that it has successfully acquired the lock because, for example, the process could freeze between reading the current time from hardware and the steady_time function returning.
You can not rely on time, for safety. Only for advice.
- dvirsky 11y agoyes, that goes back to the first issue in Martin's article, and he mentioned the tokens thing for this. But time drift between the machines is not an issue, is my point.