commit | 3d768ef83b95367fdca56a9fa0ac212c62a1d59b | [log] [tgz] |
---|---|---|
author | Cyril Hrubis <chrubis@suse.cz> | Mon Oct 19 16:15:37 2015 +0200 |
committer | Cyril Hrubis <chrubis@suse.cz> | Thu Oct 29 18:41:34 2015 +0100 |
tree | 4aea5079f207998e9d3a329aad88e76157bc2693 | |
parent | 70e0f4635bba9a17f4ba7f0bba4cfe89627678b2 [diff] |
openposix: pthread_create_1-3: Fix. Use return value from ptread_create() instead of errno on failure. Use _exit() instead of exit() and write() instead of printf() in signal handler. Call pthread_join() in the main thread, otherwise it will always exit with PASS (even when the second thread wasn't canceled). Signed-off-by: Cyril Hrubis <chrubis@suse.cz>