projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add support for program_invocation[_short]_name
[musl]
/
src
/
internal
/
pthread_impl.h
diff --git
a/src/internal/pthread_impl.h
b/src/internal/pthread_impl.h
index
544da9c
..
78b69cd
100644
(file)
--- 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;
int detached;
unsigned char *map_base;
size_t map_size;
+ void *stack;
+ size_t stack_size;
void *start_arg;
void *(*start)(void *);
void *result;
void *start_arg;
void *(*start)(void *);
void *result;
@@
-41,7
+43,7
@@
struct pthread {
int killlock[2];
int exitlock[2];
int startlock[2];
int killlock[2];
int exitlock[2];
int startlock[2];
- unsigned long sigmask[_
_SYSCALL_SSLEN
/sizeof(long)];
+ unsigned long sigmask[_
NSIG/8
/sizeof(long)];
};
struct __timer {
};
struct __timer {
@@
-89,10
+91,10
@@
struct __timer {
#define SIGALL_SET ((sigset_t *)(const unsigned long long [2]){ -1,-1 })
#define SIGPT_SET \
#define SIGALL_SET ((sigset_t *)(const unsigned long long [2]){ -1,-1 })
#define SIGPT_SET \
- ((sigset_t *)(const unsigned long [_
_SYSCALL_SSLEN
/sizeof(long)]){ \
+ ((sigset_t *)(const unsigned long [_
NSIG/8
/sizeof(long)]){ \
[sizeof(long)==4] = 3UL<<(32*(sizeof(long)>4)) })
#define SIGTIMER_SET \
[sizeof(long)==4] = 3UL<<(32*(sizeof(long)>4)) })
#define SIGTIMER_SET \
- ((sigset_t *)(const unsigned long [_
_SYSCALL_SSLEN
/sizeof(long)]){ \
+ ((sigset_t *)(const unsigned long [_
NSIG/8
/sizeof(long)]){ \
0x80000000 })
pthread_t __pthread_self_init(void);
0x80000000 })
pthread_t __pthread_self_init(void);