* 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.
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user