commit | 809b2d39b45bfbed6c44d1a3e3b141a893471859 | [log] [tgz] |
---|---|---|
author | Cyril Hrubis <chrubis@suse.cz> | Tue Oct 20 15:22:42 2015 +0200 |
committer | Cyril Hrubis <chrubis@suse.cz> | Thu Oct 29 18:41:34 2015 +0100 |
tree | 12db7e55e0003adef17fe00f8c3ef49948ac6bdd | |
parent | 924299218693d6b2a4322cb9f5794b2fc6c083db [diff] |
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>