summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/sync.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/sync.h')
-rw-r--r--winsup/cygwin/sync.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/sync.h b/winsup/cygwin/sync.h
index 8fd01df3a..f7ce7e1b4 100644
--- a/winsup/cygwin/sync.h
+++ b/winsup/cygwin/sync.h
@@ -50,6 +50,7 @@ class lock_process
static muto locker;
public:
static void init () {locker.init ("lock_process");}
+ void dont_bother () {skip_unlock = true;}
lock_process (bool exiting = false)
{
locker.acquire ();