summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libkse/thread/thr_private.h4
-rw-r--r--lib/libpthread/thread/thr_private.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/libkse/thread/thr_private.h b/lib/libkse/thread/thr_private.h
index 98672bf..73c9e28 100644
--- a/lib/libkse/thread/thr_private.h
+++ b/lib/libkse/thread/thr_private.h
@@ -798,6 +798,9 @@ struct pthread {
struct pthread_specific_elem *specific;
int specific_data_count;
+ /* Alternative stack for sigaltstack() */
+ stack_t sigstk;
+
/*
* Current locks bitmap for rtld.
*/
@@ -1154,6 +1157,7 @@ void _thr_hash_add(struct pthread *);
void _thr_hash_remove(struct pthread *);
struct pthread *_thr_hash_find(struct pthread *);
void _thr_finish_cancellation(void *arg);
+int _thr_sigonstack(void *sp);
/*
* Aliases for _pthread functions. Should be called instead of
diff --git a/lib/libpthread/thread/thr_private.h b/lib/libpthread/thread/thr_private.h
index 98672bf..73c9e28 100644
--- a/lib/libpthread/thread/thr_private.h
+++ b/lib/libpthread/thread/thr_private.h
@@ -798,6 +798,9 @@ struct pthread {
struct pthread_specific_elem *specific;
int specific_data_count;
+ /* Alternative stack for sigaltstack() */
+ stack_t sigstk;
+
/*
* Current locks bitmap for rtld.
*/
@@ -1154,6 +1157,7 @@ void _thr_hash_add(struct pthread *);
void _thr_hash_remove(struct pthread *);
struct pthread *_thr_hash_find(struct pthread *);
void _thr_finish_cancellation(void *arg);
+int _thr_sigonstack(void *sp);
/*
* Aliases for _pthread functions. Should be called instead of
OpenPOWER on IntegriCloud