rather than the `ln` hack (which requires $BASHPID which is in bash-4.0+), it should simply use `flock`
flock -x 9 || die
... do stuff that needs the lock
bonus: this won't burn the cpu
Been there, Prefix was unhappy, bug #466554.
We should probably go for a locking helper in eutils that has cases for multiple OS-es.
(git-r3 no longer needs locking)
Locking is no longer used in the eclass.