Execute func after acquiring a named lock. If func takes longer than timeout, release the lock early. Returns the value of func.
Execute func after acquiring a named lock. If func takes longer than timeout, release the lock early. Returns the value of func.