Project

General

Profile

Bug #1150

pthread_exit() on last thread cause process exit with non-zero status

Added by Dmitry Moskalchuk almost 4 years ago.

Status:
Open
Priority:
Normal
Category:
libcrystax
Target version:
-
Start date:
11/13/2015
Due date:
% Done:

0%

Estimated time:
CPU Architecture:
Host OS:
Toolchain:
Android version:
CrystaX Version:

Description

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

Also available in: Atom PDF