The Wait-Die algorithm kills the younger process.
When the younger process restarts
and requests the resource again,
it may be killed once more.
This is the less efficient of these two algorithms.
The Wound-Wait algorithm preempts the younger process.
When the younger process re-requests resource,
it has to wait for older process to finish.
This is the better of the two algorithms.
Note: To avoid starvation,
a process should not be assigned
a new timestamp each time it restarts.