diff options
Diffstat (limited to 'libbuild2/algorithm.cxx')
-rw-r--r-- | libbuild2/algorithm.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libbuild2/algorithm.cxx b/libbuild2/algorithm.cxx index 7a616a5..511850d 100644 --- a/libbuild2/algorithm.cxx +++ b/libbuild2/algorithm.cxx @@ -142,6 +142,10 @@ namespace build2 // target_lock // + // Note that the stack may contain locks for targets from multiple nested + // contexts. This should be harmless (deadlock detection-wise) since + // contexts are assumed non-overlapping. + // static #ifdef __cpp_thread_local thread_local |