2020-06-11 04:03:52 +08:00
|
|
|
/* pthread initializer is weak in glibc. It must be included if glibc
|
|
|
|
is to start threading. */
|
2020-11-11 18:35:10 +08:00
|
|
|
EXTERN(__pthread_initialize_minimal)
|
2020-06-11 04:03:52 +08: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-15 07:35:35 +08:00
|
|
|
/* To create the sigthread and get its stack layout on fork */
|
|
|
|
EXTERN(pthread_create)
|
|
|
|
EXTERN(pthread_detach)
|
2020-06-11 04:03:52 +08:00
|
|
|
EXTERN(pthread_getattr_np)
|
|
|
|
EXTERN(pthread_attr_getstack)
|
|
|
|
EXTERN(__pthread_enable_asynccancel)
|