From 4560f4f0b11f2e80c2b36507083a1fa0faa3a88e Mon Sep 17 00:00:00 2001 From: David Xu Date: Mon, 29 Dec 2003 23:33:51 +0000 Subject: [PATCH] Forgot to commit this file for last commit. :( --- lib/libkse/thread/thr_private.h | 4 ++++ lib/libpthread/thread/thr_private.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/lib/libkse/thread/thr_private.h b/lib/libkse/thread/thr_private.h index 98672bf109c6..73c9e284e398 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 98672bf109c6..73c9e284e398 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