htl: move symbols into libc
Samuel Thibault
samuel.thibault@aquilenet.fr
Thu Nov 13 23:11:28 GMT 2025
Hello,
Samuel Thibault, le jeu. 21 août 2025 01:29:08 +0200, a ecrit:
> - herrno.c can probably just be removed once we have pthread_create
> moved to libc (inet/ already provides _h_errno_location)
I have already moved it: libc actually already has everything.
> - we probably just want to remove lockfile.c (and thus its forward in
> pthread_functions, thus dropping the forward mechanism at last), so no
> need to work on it.
I have fixed it, it was not really easy :)
> - similarly, we probably just want to remove cthreads-compat.c
I have removed them.
> - pt-spin-inlines.c & pt-spin.c should be easy
> - pt-get/setname-np.c should be easy
> - cancellation.c is probably easy.
> - pt-hurd-cond-*.c should be fine to move just like the other
> pthread_cond_* functions
These should be easy enough indeed.
There will also all be the C11 thread functions
(thrd_*/mtx_*/cnd_*/tss_*/pthread_atfork_compat/call_once), we can work
on them after finishing the pthread_* functions.
Samuel
More information about the Libc-alpha
mailing list