Exit current thread and return value to caller of Thread::join

Property definitions

pthreads :: pthreads $ Sys :: exit_thread
# Exit current thread and return `value` to caller of `Thread::join`
fun exit_thread(value: nullable Object) `{ pthread_exit(value); `}
lib/pthreads/pthreads.nit:366,1--367,66