diff options
author | Christopher Faylor <me@cgf.cx> | 2000-10-02 02:26:04 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-10-02 02:26:04 +0000 |
commit | 9fc09d00f7579eab987fabffbe14fdb210a45637 (patch) | |
tree | 476981be354ffea18888b8df0fd7af0c848f90ee /winsup/cygwin/debug.cc | |
parent | 0ce83ef6b8e1e7b113c1081d5ca203f5cac0e7b2 (diff) | |
download | cygnal-9fc09d00f7579eab987fabffbe14fdb210a45637.tar.gz cygnal-9fc09d00f7579eab987fabffbe14fdb210a45637.tar.bz2 cygnal-9fc09d00f7579eab987fabffbe14fdb210a45637.zip |
* cygheap.cc (cygheap_init): Born again function.
(_cmalloc): Reorganize to accomodate muto locking.
(_cfree): Use muto lock to avoid multi-thread problems.
* cygheap.h (incygheap): Just use cygheap_max to find upper cygwin heap bounds.
* dcrt0.cc (dll_crt0_1): Reinstitute cygheap_init call.
* path.cc (getcwd): Just return cwdstuff::get result, allowing correct handling
of negative length.
(cwdstuff::get): Malloc a buffer if one is not available.
Diffstat (limited to 'winsup/cygwin/debug.cc')
-rw-r--r-- | winsup/cygwin/debug.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/debug.cc b/winsup/cygwin/debug.cc index f89b21a5f..f96660c51 100644 --- a/winsup/cygwin/debug.cc +++ b/winsup/cygwin/debug.cc @@ -87,7 +87,7 @@ thread_stub (VOID *arg) exception_list except_entry; /* Give up our slot in the start_buf array */ - InterlockedExchange (&((thread_start *) arg)->notavail, 0); + (void) InterlockedExchange (&((thread_start *) arg)->notavail, 0); /* Initialize this thread's ability to respond to things like SIGSEGV or SIGFPE. */ |