| 211 | } |
| 212 | |
| 213 | void*__SYSCALL(thread_join)(struct __pthread_t *thread) |
| 214 | { |
| 215 | threadJoin((Thread)thread, U64_MAX); |
| 216 | void* rc = (void*)threadGetExitCode((Thread)thread); |
| 217 | threadFree((Thread)thread); |
| 218 | return rc; |
| 219 | } |
| 220 | |
| 221 | int __SYSCALL(thread_detach)(struct __pthread_t *thread) |
| 222 | { |
nothing calls this directly
no test coverage detected