aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/child_info.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2012-10-09 22:07:10 +0000
committerChristopher Faylor <me@cgf.cx>2012-10-09 22:07:10 +0000
commit64f6e90ef7111c2378d8eff8b27a1b28ca99502a (patch)
tree836460c4fd1e42ed6b92e5676bd011738b3be8dd /winsup/cygwin/child_info.h
parent9536b817b12280873a5e9efef77d4efbf181c012 (diff)
downloadnewlib-64f6e90ef7111c2378d8eff8b27a1b28ca99502a.zip
newlib-64f6e90ef7111c2378d8eff8b27a1b28ca99502a.tar.gz
newlib-64f6e90ef7111c2378d8eff8b27a1b28ca99502a.tar.bz2
* child_info.h (child_info_spawn::has_execed): Remove unneeded synchronization.
Diffstat (limited to 'winsup/cygwin/child_info.h')
-rw-r--r--winsup/cygwin/child_info.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/winsup/cygwin/child_info.h b/winsup/cygwin/child_info.h
index eac40c2..13f6d69 100644
--- a/winsup/cygwin/child_info.h
+++ b/winsup/cygwin/child_info.h
@@ -172,8 +172,6 @@ public:
return true;
if (type != _CH_EXEC)
return false;
- lock->acquire ();
- lock->release ();
return !!hExeced;
}
bool get_parent_handle ();