Allow only 1 thread to send a closure to a given machine at the same time

This prevents a race where multiple threads see that machine X is missing path P, and start sending it concurrently. Nix handles this correctly, but it's still wasteful (especially for the case where P == GHC).

A more refined scheme would be to have per machine, per path locks.

Created by  Eelco Dolstra  on July 7, 2015
CNLNT3T4IXU42GAC64CU5CEDTDLM2SHSJZEVHTMOCWYFXSQNC76QC
Change contents