aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/wasi/thread-stub/pthread_join.c
blob: cbdcedd73325da872f56839cb34a02c0ce434a70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#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);