2020-06-10 20:03:52 +00:00
|
|
|
/* pthread initializer is weak in glibc. It must be included if glibc
|
|
|
|
is to start threading. */
|
2020-11-11 10:35:10 +00:00
|
|
|
EXTERN(__pthread_initialize_minimal)
|
2020-06-10 20:03:52 +00:00
|
|
|
|
|
|
|
/* Weak references in glibc that must be filled if glibc is to be
|
|
|
|
thread safe. */
|
|
|
|
EXTERN(cthread_detach)
|
|
|
|
EXTERN(cthread_fork)
|
|
|
|
EXTERN(cthread_keycreate)
|
|
|
|
EXTERN(cthread_getspecific)
|
|
|
|
EXTERN(cthread_setspecific)
|
|
|
|
EXTERN(__mutex_lock_solid)
|
|
|
|
EXTERN(__mutex_unlock_solid)
|
|
|
|
/* For libio stream locking. */
|
|
|
|
EXTERN(_cthreads_flockfile)
|
|
|
|
EXTERN(_cthreads_funlockfile)
|
|
|
|
EXTERN(_cthreads_ftrylockfile)
|
2020-11-14 23:35:35 +00:00
|
|
|
/* To create the sigthread and get its stack layout on fork */
|
|
|
|
EXTERN(pthread_create)
|
|
|
|
EXTERN(pthread_detach)
|
2020-06-10 20:03:52 +00:00
|
|
|
EXTERN(pthread_getattr_np)
|
|
|
|
EXTERN(pthread_attr_getstack)
|
|
|
|
EXTERN(__pthread_enable_asynccancel)
|