return err;
}
-strong_alias (__pthread_create, pthread_create)
+weak_alias (__pthread_create, pthread_create)
/* Internal version of pthread_create. See comment in
pt-internal.h. */
return err;
}
-strong_alias (__pthread_detach, pthread_detach)
+weak_alias (__pthread_detach, pthread_detach)
abort ();
}
-strong_alias (__pthread_exit, pthread_exit);
+weak_alias (__pthread_exit, pthread_exit);
return err;
}
-strong_alias (__pthread_join, pthread_join);
+weak_alias (__pthread_join, pthread_join);
return self->thread;
}
-strong_alias (__pthread_self, pthread_self);
+weak_alias (__pthread_self, pthread_self);
return 0;
}
-strong_alias (__pthread_setcancelstate, pthread_setcancelstate);
+weak_alias (__pthread_setcancelstate, pthread_setcancelstate);
return 0;
}
-strong_alias (__pthread_setcanceltype, pthread_setcanceltype);
+weak_alias (__pthread_setcanceltype, pthread_setcanceltype);
{
return 0;
}
-strong_alias (__pthread_attr_destroy, pthread_attr_destroy);
+weak_alias (__pthread_attr_destroy, pthread_attr_destroy);
return 0;
}
-strong_alias (__pthread_attr_getdetachstate, pthread_attr_getdetachstate);
+weak_alias (__pthread_attr_getdetachstate, pthread_attr_getdetachstate);
return 0;
}
-strong_alias (__pthread_attr_getinheritsched, pthread_attr_getinheritsched);
+weak_alias (__pthread_attr_getinheritsched, pthread_attr_getinheritsched);
return 0;
}
-strong_alias (__pthread_attr_getschedparam, pthread_attr_getschedparam);
+weak_alias (__pthread_attr_getschedparam, pthread_attr_getschedparam);
return 0;
}
-strong_alias (__pthread_attr_getschedpolicy, pthread_attr_getschedpolicy);
+weak_alias (__pthread_attr_getschedpolicy, pthread_attr_getschedpolicy);
return 0;
}
-strong_alias (__pthread_attr_getscope, pthread_attr_getscope);
+weak_alias (__pthread_attr_getscope, pthread_attr_getscope);
*attr = __pthread_default_attr;
return 0;
}
-strong_alias (__pthread_attr_init, pthread_attr_init);
+weak_alias (__pthread_attr_init, pthread_attr_init);
return 0;
}
-strong_alias (__pthread_attr_setdetachstate, pthread_attr_setdetachstate);
+weak_alias (__pthread_attr_setdetachstate, pthread_attr_setdetachstate);
return 0;
}
-strong_alias (__pthread_attr_setinheritsched, pthread_attr_setinheritsched);
+weak_alias (__pthread_attr_setinheritsched, pthread_attr_setinheritsched);
return ENOTSUP;
}
-strong_alias (__pthread_attr_setschedparam, pthread_attr_setschedparam);
+weak_alias (__pthread_attr_setschedparam, pthread_attr_setschedparam);
return 0;
}
-strong_alias (__pthread_attr_setschedpolicy, pthread_attr_setschedpolicy);
+weak_alias (__pthread_attr_setschedpolicy, pthread_attr_setschedpolicy);
}
}
-strong_alias (__pthread_attr_setscope, pthread_attr_setscope);
+weak_alias (__pthread_attr_setscope, pthread_attr_setscope);
return 0;
}
-strong_alias (__pthread_cond_broadcast, pthread_cond_broadcast);
+weak_alias (__pthread_cond_broadcast, pthread_cond_broadcast);
return ret;
}
-strong_alias (__pthread_cond_destroy, pthread_cond_destroy);
+weak_alias (__pthread_cond_destroy, pthread_cond_destroy);
return 0;
}
-strong_alias (__pthread_cond_init, pthread_cond_init);
+weak_alias (__pthread_cond_init, pthread_cond_init);
return 0;
}
-strong_alias (__pthread_cond_signal, pthread_cond_signal);
+weak_alias (__pthread_cond_signal, pthread_cond_signal);
return __pthread_cond_timedwait_internal (cond, mutex, abstime);
}
-strong_alias (__pthread_cond_timedwait, pthread_cond_timedwait);
+weak_alias (__pthread_cond_timedwait, pthread_cond_timedwait);
struct cancel_ctx
{
return __pthread_cond_timedwait_internal (cond, mutex, 0);
}
-strong_alias (__pthread_cond_wait, pthread_cond_wait);
+weak_alias (__pthread_cond_wait, pthread_cond_wait);
return 0;
}
-strong_alias (__pthread_condattr_destroy, pthread_condattr_destroy);
+weak_alias (__pthread_condattr_destroy, pthread_condattr_destroy);
return 0;
}
-strong_alias (__pthread_condattr_init, pthread_condattr_init);
+weak_alias (__pthread_condattr_init, pthread_condattr_init);
return __t1 == __t2;
}
-strong_alias (__pthread_equal, pthread_equal);
+weak_alias (__pthread_equal, pthread_equal);
return 0;
}
-strong_alias (__pthread_getschedparam, pthread_getschedparam);
+weak_alias (__pthread_getschedparam, pthread_getschedparam);
return self->thread_specifics[key];
}
-strong_alias (__pthread_getspecific, pthread_getspecific);
+weak_alias (__pthread_getspecific, pthread_getspecific);
hidden_def (__pthread_getspecific)
__pthread_mutex_unlock (&__pthread_key_lock);
return 0;
}
-strong_alias (__pthread_key_create, pthread_key_create)
+weak_alias (__pthread_key_create, pthread_key_create)
hidden_def (__pthread_key_create)
return err;
}
-strong_alias (__pthread_key_delete, pthread_key_delete)
+weak_alias (__pthread_key_delete, pthread_key_delete)
return 0;
}
-strong_alias (__pthread_once, pthread_once);
+weak_alias (__pthread_once, pthread_once);
return ENOSYS;
}
-strong_alias (__pthread_setschedparam, pthread_setschedparam);
+weak_alias (__pthread_setschedparam, pthread_setschedparam);
stub_warning (pthread_setschedparam)
self->thread_specifics[key] = (void *) value;
return 0;
}
-strong_alias (__pthread_setspecific, pthread_setspecific);
+weak_alias (__pthread_setspecific, pthread_setspecific);
hidden_def (__pthread_setspecific)
return 0;
}
-strong_alias (__pthread_mutex_destroy, pthread_mutex_destroy)
+weak_alias (__pthread_mutex_destroy, pthread_mutex_destroy)
hidden_def (__pthread_mutex_destroy)
return 0;
}
-strong_alias (__pthread_mutex_init, pthread_mutex_init)
+weak_alias (__pthread_mutex_init, pthread_mutex_init)
hidden_def (__pthread_mutex_init)
}
strong_alias (__pthread_mutex_lock, _pthread_mutex_lock)
-strong_alias (__pthread_mutex_lock, pthread_mutex_lock)
+weak_alias (__pthread_mutex_lock, pthread_mutex_lock)
return ret;
}
-strong_alias (__pthread_mutex_timedlock, pthread_mutex_timedlock)
+weak_alias (__pthread_mutex_timedlock, pthread_mutex_timedlock)
hidden_def (__pthread_mutex_timedlock)
}
strong_alias (__pthread_mutex_trylock, _pthread_mutex_trylock)
-strong_alias (__pthread_mutex_trylock, pthread_mutex_trylock)
+weak_alias (__pthread_mutex_trylock, pthread_mutex_trylock)
}
strong_alias (__pthread_mutex_unlock, _pthread_mutex_unlock)
-strong_alias (__pthread_mutex_unlock, pthread_mutex_unlock)
+weak_alias (__pthread_mutex_unlock, pthread_mutex_unlock)
test-xfail-XOPEN2K8/sys/types.h/conform = yes
test-xfail-XOPEN2K8/stdlib.h/conform = yes
test-xfail-XOPEN2K8/arpa/inet.h/conform = yes
-
-# For bug 23819
-test-xfail-ISO11/threads.h/linknamespace = yes
-test-xfail-ISO11/threads.h/conform = yes
endif
# For bug 23286