// runs in lock(lockObject) internal void StartBuild(BuildRun nextBuildRun) { Debug.Assert(currentBuildRun == null); currentBuildRun = nextBuildRun; process.CallMethodOnWorker("StartBuild", currentBuildRun.job); }