aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-05-15 08:41:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-05-15 08:41:25 +0200
commita6c6186d18c928a2358796442f01903895b67677 (patch)
treec1885a724660f335de4e508cf06174ffdb0ab3bc
parentd27b0f2fc1c2a3fb3135aff1eb521e19f8ce48cf (diff)
Add notes
-rw-r--r--build2/target.hxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/build2/target.hxx b/build2/target.hxx
index 4c0efbe..61fe111 100644
--- a/build2/target.hxx
+++ b/build2/target.hxx
@@ -1456,9 +1456,10 @@ namespace build2
using target::target;
// Modification time is an "atomic cash". That is, it can be set at any
- // time and we assume everything will be ok regardless of the order in
- // which racing updates happen because we do not modify the external state
- // (which is the source of timestemps) while updating the internal.
+ // time (including on a const instance) and we assume everything will be
+ // ok regardless of the order in which racing updates happen because we do
+ // not modify the external state (which is the source of timestemps) while
+ // updating the internal.
//
// The modification time is reserved for the inner operation thus there is
// no action argument.
@@ -1536,8 +1537,9 @@ namespace build2
typedef build2::path path_type;
// Target path is an "atomic consistent cash". That is, it can be set at
- // any time but any subsequent updates must set the same path. Or, in
- // other words, once the path is set, it never changes.
+ // any time (including on a const instance) but any subsequent updates
+ // must set the same path. Or, in other words, once the path is set, it
+ // never changes.
//
// An empty path may signify special unknown/undetermined/unreal location
// (for example, a binless library or an installed import library -- we