| 1 | #include "pthread_impl.h" |
| 2 | |
| 3 | static int __pthread_tryjoin_np(pthread_t t, void **res) |
| 4 | { |
| 5 | 	/* |
| 6 | 		"The behavior is undefined if the value specified by the thread argument |
| 7 | 		to pthread_join() refers to the calling thread." |
| 8 | 	*/ |
| 9 | 	return 0; |
| 10 | } |
| 11 | |
| 12 | static int __pthread_timedjoin_np(pthread_t t, void **res, const struct timespec *at) |
| 13 | { |
| 14 | 	/* |
| 15 | 		"The behavior is undefined if the value specified by the thread argument |
| 16 | 		to pthread_join() refers to the calling thread." |
| 17 | 	*/ |
| 18 | 	return 0; |
| 19 | } |
| 20 | |
| 21 | int __pthread_join(pthread_t t, void **res) |
| 22 | { |
| 23 | 	/* |
| 24 | 		"The behavior is undefined if the value specified by the thread argument |
| 25 | 		to pthread_join() refers to the calling thread." |
| 26 | 	*/ |
| 27 | 	return 0; |
| 28 | } |
| 29 | |
| 30 | weak_alias(__pthread_tryjoin_np, pthread_tryjoin_np); |
| 31 | weak_alias(__pthread_timedjoin_np, pthread_timedjoin_np); |
| 32 | weak_alias(__pthread_join, pthread_join); |