Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-02-11 18:24:15 +0300
committerChristopher Faylor <me@cgf.cx>2005-02-11 18:24:15 +0300
commitcc9440b6f42536f9f3b3fca6a6c53155792a51eb (patch)
tree7839100d471d0478d72881287053dde865e70bb4 /winsup/cygwin/pinfo.h
parent199bf79367fd838d12900e70c05756f2bc29db5d (diff)
* cygthread.cc (cygthread::release): Reset ev here if it exists.
(cygthread::terminate_thread): Eliminat racy code which reset ev and thread_sync. Remove a few nonsensical inuse checks. Exit at the bottom. (cygthread::detach): Rewrite to again try to ensure that we don't say we're signalled when we are not signalled. * fhandler.cc (fhandler_base::raw_read): Revert to signalling read success quickly. * pipe.cc (fhandler_pipe::close): Use base method to close handle. * sigproc.h (WAIT_SIG_PRIORITY): Just trundle along at normal priority to allow the pipe thread to do its thing if possible. * pinfo.h (pinfo::zap_cwd): Declare new function. (pinfo::zap_cwd): Move 'cd out of the way code' here. (pinfo::exit): Use it here. * spawn.cc (spawn_guts): And here.
Diffstat (limited to 'winsup/cygwin/pinfo.h')
-rw-r--r--winsup/cygwin/pinfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/pinfo.h b/winsup/cygwin/pinfo.h
index 7a502c100..45bc406cd 100644
--- a/winsup/cygwin/pinfo.h
+++ b/winsup/cygwin/pinfo.h
@@ -196,7 +196,8 @@ public:
}
#endif
HANDLE shared_handle () {return h;}
- void set_acl();
+ void set_acl ();
+ void zap_cwd ();
friend class _pinfo;
};