aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/context.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/context.hxx')
-rw-r--r--libbuild2/context.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/libbuild2/context.hxx b/libbuild2/context.hxx
index 0d401de..ad89f58 100644
--- a/libbuild2/context.hxx
+++ b/libbuild2/context.hxx
@@ -594,10 +594,14 @@ namespace build2
//
struct LIBBUILD2_SYMEXPORT phase_unlock
{
- phase_unlock (context&, bool unlock = true);
+ phase_unlock (context&, bool unlock = true, bool delay = false);
~phase_unlock () noexcept (false);
- phase_lock* l;
+ void
+ unlock ();
+
+ context* ctx;
+ phase_lock* lock;
};
// Assuming we have a lock on the current phase, temporarily switch to a