aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/cygthread.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-12-14 04:01:32 +0000
committerChristopher Faylor <me@cgf.cx>2002-12-14 04:01:32 +0000
commit8bce0d723c50924b908dca1467037c8008e872be (patch)
treedcaf982175c090c0e7668af5fa00dac09fb07b27 /winsup/cygwin/cygthread.h
parentec085641a9b4d25e16df12d7449f7ad689934117 (diff)
downloadnewlib-8bce0d723c50924b908dca1467037c8008e872be.zip
newlib-8bce0d723c50924b908dca1467037c8008e872be.tar.gz
newlib-8bce0d723c50924b908dca1467037c8008e872be.tar.bz2
Throughout, change fhandler_*::read and fhandler_*::raw_read to void functions
whose second arguments are both the lenght and the return value. * fhandler.cc (fhandler_base::read): Rework slightly to use second argument as input/output. Tweak CRLF stuff. (fhandler_base::readv): Accommodate fhandler_*::read changes. * cygthread.h (cygthread::detach): Declare as taking optional handle argument. (cygthread::detach): When given a handle argument, wait for the handle to be signalled before waiting for thread to detach. Return true when signal detected.
Diffstat (limited to 'winsup/cygwin/cygthread.h')
-rw-r--r--winsup/cygwin/cygthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/cygthread.h b/winsup/cygwin/cygthread.h
index 479a068..b0c07af 100644
--- a/winsup/cygwin/cygthread.h
+++ b/winsup/cygwin/cygthread.h
@@ -27,7 +27,7 @@ class cygthread
cygthread (LPTHREAD_START_ROUTINE, LPVOID, const char *);
cygthread () {};
static void init ();
- void detach (bool = false);
+ bool detach (HANDLE = NULL);
operator HANDLE ();
static bool is ();
void * operator new (size_t);