mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
htl: move __pthread_default_attr into libc
Signed-off-by: gfleury <gfleury@disroot.org>
This commit is contained in:
parent
736befab6c
commit
f55cf584ff
@ -25,7 +25,6 @@ SYSDEPS := lockfile
|
|||||||
LCLHDRS :=
|
LCLHDRS :=
|
||||||
|
|
||||||
libpthread-routines := \
|
libpthread-routines := \
|
||||||
pt-attr \
|
|
||||||
pt-attr-getguardsize \
|
pt-attr-getguardsize \
|
||||||
pt-attr-getscope \
|
pt-attr-getscope \
|
||||||
pt-attr-getstack \
|
pt-attr-getstack \
|
||||||
@ -198,6 +197,7 @@ routines := \
|
|||||||
forward \
|
forward \
|
||||||
htlfreeres \
|
htlfreeres \
|
||||||
libc_pthread_init \
|
libc_pthread_init \
|
||||||
|
pt-attr \
|
||||||
pt-attr-destroy \
|
pt-attr-destroy \
|
||||||
pt-attr-getdetachstate \
|
pt-attr-getdetachstate \
|
||||||
pt-attr-getinheritsched \
|
pt-attr-getinheritsched \
|
||||||
|
@ -50,6 +50,7 @@ libc {
|
|||||||
__pthread_total;
|
__pthread_total;
|
||||||
___pthread_self;
|
___pthread_self;
|
||||||
__pthread_init_thread;
|
__pthread_init_thread;
|
||||||
|
__pthread_default_attr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -319,6 +319,7 @@ extern int __pthread_mutex_checklocked (pthread_mutex_t *mtx);
|
|||||||
|
|
||||||
/* Default thread attributes. */
|
/* Default thread attributes. */
|
||||||
extern struct __pthread_attr __pthread_default_attr;
|
extern struct __pthread_attr __pthread_default_attr;
|
||||||
|
libc_hidden_proto (__pthread_default_attr)
|
||||||
|
|
||||||
/* Default barrier attributes. */
|
/* Default barrier attributes. */
|
||||||
extern const struct __pthread_barrierattr __pthread_default_barrierattr;
|
extern const struct __pthread_barrierattr __pthread_default_barrierattr;
|
||||||
|
@ -37,3 +37,4 @@ struct __pthread_attr __pthread_default_attr = {
|
|||||||
__contentionscope: PTHREAD_SCOPE_SYSTEM,
|
__contentionscope: PTHREAD_SCOPE_SYSTEM,
|
||||||
__schedpolicy: SCHED_OTHER
|
__schedpolicy: SCHED_OTHER
|
||||||
};
|
};
|
||||||
|
libc_hidden_data_def (__pthread_default_attr)
|
||||||
|
Loading…
Reference in New Issue
Block a user