From d21f528e0a91412a4a6d0f64722e7f437e0ee501 Mon Sep 17 00:00:00 2001 From: Robert Iannucci Date: Thu, 29 Nov 2012 16:49:04 -0800 Subject: Doc improvements --- src/build.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/build.h b/src/build.h index 6bcfc07..c60b893 100644 --- a/src/build.h +++ b/src/build.h @@ -69,7 +69,15 @@ private: bool AddSubTarget(Node* node, vector* stack, string* err); bool CheckDependencyCycle(Node* node, vector* stack, string* err); void NodeFinished(Node* node); + + /// Submits a ready edge as a candidate for execution. + /// The edge may be delayed from running, for example if it's a member of a + /// currently-full pool. void ScheduleWork(Edge* edge); + + /// Allows jobs blocking on |edge| to potentially resume. + /// For example, if |edge| is a member of a pool, calling this may schedule + /// previously pending jobs in that pool. void ResumeDelayedJobs(Edge* edge); /// Keep track of which edges we want to build in this plan. If this map does -- cgit v0.12