projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
eliminate use of cached pid from thread structure
[oweals/musl.git]
/
src
/
thread
/
pthread_create.c
diff --git
a/src/thread/pthread_create.c
b/src/thread/pthread_create.c
index a7493c1041018e66209818c66ef30b319c89a74a..6415125437a95c8d84312fba45ab10551147dea9 100644
(file)
--- a/
src/thread/pthread_create.c
+++ b/
src/thread/pthread_create.c
@@
-206,7
+206,6
@@
int pthread_create(pthread_t *restrict res, const pthread_attr_t *restrict attrp
new->map_size = size;
new->stack = stack;
new->stack_size = stack - stack_limit;
- new->pid = self->pid;
new->start = entry;
new->start_arg = arg;
new->self = new;