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-05-19 03:30:02 +0400
committerChristopher Faylor <me@cgf.cx>2005-05-19 03:30:02 +0400
commit24515d6563060fda3ad1d0cfa7bbb6936521895b (patch)
treec4d7561c0be3de56e4c9bf9019cc68543c53cb26 /winsup/cygwin/cygtls.h
parent0a99fce172c2ca9898f084554f1199032315edea (diff)
* 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/cygtls.h')
-rw-r--r--winsup/cygwin/cygtls.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/cygtls.h b/winsup/cygwin/cygtls.h
index 18f715316..257c8acf9 100644
--- a/winsup/cygwin/cygtls.h
+++ b/winsup/cygwin/cygtls.h
@@ -92,6 +92,9 @@ struct _local_storage
struct servent *servent_buf; // note: malloced
struct hostent *hostent_buf; // note: malloced
char signamebuf[sizeof ("Unknown signal 4294967295 ")];
+
+ /* cygthread.cc */
+ char unknown_thread_name[30];
};
typedef struct struct_waitq