diff options
author | Christopher Faylor <me@cgf.cx> | 2005-05-18 23:30:02 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-05-18 23:30:02 +0000 |
commit | 24515d6563060fda3ad1d0cfa7bbb6936521895b (patch) | |
tree | c4d7561c0be3de56e4c9bf9019cc68543c53cb26 /winsup/cygwin/exceptions.cc | |
parent | 0a99fce172c2ca9898f084554f1199032315edea (diff) | |
download | cygnal-24515d6563060fda3ad1d0cfa7bbb6936521895b.tar.gz cygnal-24515d6563060fda3ad1d0cfa7bbb6936521895b.tar.bz2 cygnal-24515d6563060fda3ad1d0cfa7bbb6936521895b.zip |
* cygtls.h (_local_storage::unknown_thread_name): New buffer.
* tlsoffsets.h: Regenerate.
* cygthread.cc (cygthread::name): Use new thread-local buffer.
* exceptions.cc (handle_exceptions): Avoid unnecessary initialization of static
variables to zero.
* fork.cc (slow_pid_reuse) Ditto.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r-- | winsup/cygwin/exceptions.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index fb4e0e91f..b886e3460 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -388,8 +388,8 @@ extern "C" DWORD __stdcall RtlUnwind (void *, void *, void *, DWORD); static int handle_exceptions (EXCEPTION_RECORD *e0, void *frame, CONTEXT *in0, void *) { - static bool NO_COPY debugging = false; - static int NO_COPY recursed = 0; + static bool NO_COPY debugging; + static int NO_COPY recursed; if (debugging && ++debugging < 500000) { |