aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/cygtls.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-05-18 23:30:02 +0000
committerChristopher Faylor <me@cgf.cx>2005-05-18 23:30:02 +0000
commit24515d6563060fda3ad1d0cfa7bbb6936521895b (patch)
treec4d7561c0be3de56e4c9bf9019cc68543c53cb26 /winsup/cygwin/cygtls.h
parent0a99fce172c2ca9898f084554f1199032315edea (diff)
downloadnewlib-24515d6563060fda3ad1d0cfa7bbb6936521895b.zip
newlib-24515d6563060fda3ad1d0cfa7bbb6936521895b.tar.gz
newlib-24515d6563060fda3ad1d0cfa7bbb6936521895b.tar.bz2
* 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 18f7153..257c8ac 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