mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
33 lines
818 B
C
Vendored
33 lines
818 B
C
Vendored
#include "pthread_impl.h"
|
|
|
|
static int __pthread_tryjoin_np(pthread_t t, void **res)
|
|
{
|
|
/*
|
|
"The behavior is undefined if the value specified by the thread argument
|
|
to pthread_join() refers to the calling thread."
|
|
*/
|
|
return 0;
|
|
}
|
|
|
|
static int __pthread_timedjoin_np(pthread_t t, void **res, const struct timespec *at)
|
|
{
|
|
/*
|
|
"The behavior is undefined if the value specified by the thread argument
|
|
to pthread_join() refers to the calling thread."
|
|
*/
|
|
return 0;
|
|
}
|
|
|
|
int __pthread_join(pthread_t t, void **res)
|
|
{
|
|
/*
|
|
"The behavior is undefined if the value specified by the thread argument
|
|
to pthread_join() refers to the calling thread."
|
|
*/
|
|
return 0;
|
|
}
|
|
|
|
weak_alias(__pthread_tryjoin_np, pthread_tryjoin_np);
|
|
weak_alias(__pthread_timedjoin_np, pthread_timedjoin_np);
|
|
weak_alias(__pthread_join, pthread_join);
|