aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/cygtls.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-12-07 02:56:52 +0000
committerChristopher Faylor <me@cgf.cx>2003-12-07 02:56:52 +0000
commit73262d7a44b90e2338fe031ebeaa17c7a299d547 (patch)
treed3de2229068da0c0aaf0b20eb206858f67871148 /winsup/cygwin/cygtls.h
parentfcc47fd0013d63dfe43b81ec26ad10eea5a05cbe (diff)
downloadnewlib-73262d7a44b90e2338fe031ebeaa17c7a299d547.zip
newlib-73262d7a44b90e2338fe031ebeaa17c7a299d547.tar.gz
newlib-73262d7a44b90e2338fe031ebeaa17c7a299d547.tar.bz2
* cygtls.h (_threadinfo::find_tls): New function.
* exceptions.cc (_threadinfo::find_tls): Rename from find_tls. Use critical section to protect access to linked list.
Diffstat (limited to 'winsup/cygwin/cygtls.h')
-rw-r--r--winsup/cygwin/cygtls.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/cygtls.h b/winsup/cygwin/cygtls.h
index 20913be..f62efed 100644
--- a/winsup/cygwin/cygtls.h
+++ b/winsup/cygwin/cygtls.h
@@ -46,6 +46,7 @@ struct _threadinfo
void init_thread (void *);
static void call (void (*) (void *, void *), void *);
void call2 (void (*) (void *, void *), void *, void *);
+ static struct _threadinfo *find_tls (int sig);
void remove ();
void push (__stack_t, bool = false);
__stack_t pop ();