htl: move __pthread_setup into libc.

Message-ID: <20250815181500.107433-19-gfleury@disroot.org>
This commit is contained in:
gfleury 2025-08-15 20:14:59 +02:00 committed by Samuel Thibault
parent b6616efe8c
commit 80412aee3e
5 changed files with 5 additions and 2 deletions

View File

@ -32,7 +32,6 @@ libpthread-routines := \
pt-hurd-cond-timedwait \
pt-startup \
pt-sysdep \
pt-setup \
pt-spin \
pt-getname-np \
pt-setname-np \
@ -198,6 +197,7 @@ routines := \
pt-setschedparam \
pt-setschedprio \
pt-setspecific \
pt-setup \
pt-sigmask \
pt-sigstate \
pt-sigstate-destroy \

View File

@ -270,6 +270,7 @@ libc {
__pthread_mutexattr_settype;
__pthread_once;
__pthread_setspecific;
__pthread_setup;
__pthread_sigstate_init;
__pthread_sigstate;
__pthread_sigstate_destroy;

View File

@ -242,7 +242,7 @@ extern int __pthread_setup (struct __pthread *__restrict thread,
void *),
void *(*start_routine) (void *),
void *__restrict arg);
libc_hidden_proto (__pthread_setup)
/* Allocate a kernel thread (and any miscellaneous system dependent
resources) for THREAD; it must not be placed on the run queue. */

View File

@ -98,3 +98,4 @@ __pthread_setup (struct __pthread *thread,
return 0;
}
libc_hidden_def (__pthread_setup)

View File

@ -91,3 +91,4 @@ __pthread_setup (struct __pthread *thread,
return 0;
}
libc_hidden_def (__pthread_setup)