diff options
author | Christopher Faylor <me@cgf.cx> | 2005-06-09 22:33:57 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-06-09 22:33:57 +0000 |
commit | 9a9177720555953b8761b8f22ef7f5566db0955f (patch) | |
tree | fcbbb366a27fce1bba7d724b265bb3df91970f21 /winsup/cygwin/cygtls.h | |
parent | fa0dcd0d650d47e33d3301f107580bbf3e7afa69 (diff) | |
download | newlib-9a9177720555953b8761b8f22ef7f5566db0955f.zip newlib-9a9177720555953b8761b8f22ef7f5566db0955f.tar.gz newlib-9a9177720555953b8761b8f22ef7f5566db0955f.tar.bz2 |
* cygtls.h (_local_storage::setmode_file): New element.
(_local_storage::setmode_mode): New element.
* tlsoffsets.h: Regenerate.
* cygwin.din (setmode): Define as cygwin_getmode.
* syscalls.cc (setmode_helper): Use setmode_* variables from tls rather than
using unthreadsafe static.
(setmode): Break out fwalk stuff.
(cygwin_setmode): New function. Put fwalk stdio stuff here.
Diffstat (limited to 'winsup/cygwin/cygtls.h')
-rw-r--r-- | winsup/cygwin/cygtls.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/cygwin/cygtls.h b/winsup/cygwin/cygtls.h index 257c8ac..7ee1ddc 100644 --- a/winsup/cygwin/cygtls.h +++ b/winsup/cygwin/cygtls.h @@ -95,6 +95,10 @@ struct _local_storage /* cygthread.cc */ char unknown_thread_name[30]; + + /* syscalls.cc */ + int setmode_file; + int setmode_mode; }; typedef struct struct_waitq |