pthread_exit() on last thread cause process exit with non-zero status
According to POSIX:
??The process shall exit with an exit status of 0 after the last thread has been terminated. The behavior shall be as if the implementation called exit() with a zero argument at thread termination time.??
However, actually it exit with non-zero exit code.
"Here":https://github.com/crystax/android-vendor-openpts/blob/master/conformance/interfaces/pthread_exit/6-1.c is corresponding test case