summaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-04-26 19:48:01 -0400
committerRich Felker <dalias@aerifal.cx>2013-04-26 19:48:01 -0400
commit2c074b0d6cb2b28c5d1c0ccb2809965f4676efeb (patch)
tree9c56db36bf3ae26450e8374bb38f181b787ae707 /src/internal
parentd53c92c972dab717f8f8e521eb0e9c4404cef4bd (diff)
downloadmusl-2c074b0d6cb2b28c5d1c0ccb2809965f4676efeb.tar.gz
transition to using functions for internal signal blocking/restoring
there are several reasons for this change. one is getting rid of the repetition of the syscall signature all over the place. another is sharing the constant masks without costly GOT accesses in PIC. the main motivation, however, is accurately representing whether we want to block signals that might be handled by the application, or all signals.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/pthread_impl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/internal/pthread_impl.h b/src/internal/pthread_impl.h
index 78b69cde..67b05753 100644
--- a/src/internal/pthread_impl.h
+++ b/src/internal/pthread_impl.h
@@ -115,6 +115,10 @@ void __acquire_ptc();
void __release_ptc();
void __inhibit_ptc();
+void __block_all_sigs(void *);
+void __block_app_sigs(void *);
+void __restore_sigs(void *);
+
#define DEFAULT_STACK_SIZE 81920
#define DEFAULT_GUARD_SIZE PAGE_SIZE