X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Finternal%2Fpthread_impl.h;h=67b0575345eef1b186e6aa7de8734e6a3e5d4fe9;hp=2086048d6b283cc127888f8adf1151b9d438f0d5;hb=2c074b0d6cb2b28c5d1c0ccb2809965f4676efeb;hpb=ccc7b4c3a17ade90de71e1e0f44deebbffd646e6 diff --git a/src/internal/pthread_impl.h b/src/internal/pthread_impl.h index 2086048d..67b05753 100644 --- a/src/internal/pthread_impl.h +++ b/src/internal/pthread_impl.h @@ -23,6 +23,8 @@ struct pthread { int detached; unsigned char *map_base; size_t map_size; + void *stack; + size_t stack_size; void *start_arg; void *(*start)(void *); void *result; @@ -113,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