openposix: pthread_create_11-1: Cleanup & fix.

Use return value from ptread_*() instead of errno on failure.

Do some work in the main thread before we do pthread_create() so that
the CPU timer is > 0 for the main thread.

Pass the test only if the new thread CPU timer is < 0.1s (was 1s
previously).

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
1 file changed