commit | d7c68f3cbdb45c0352526712e1b6cdc29a1e629a | [log] [tgz] |
---|---|---|
author | Cyril Hrubis <chrubis@suse.cz> | Wed Jan 07 12:57:57 2015 |
committer | Cyril Hrubis <chrubis@suse.cz> | Wed Jan 07 13:04:28 2015 |
tree | c20b92d2126701c684fdafe72af9774a72a77722 | |
parent | 08e1fe966f27b244115721249704986d9855f62d [diff] |
openposix: Fix fork-11-1 hangs The testcase was hanging on some systems. The cause was locked stdout which caused deadlock at buffer flush at the exit() in child process and because of that the parent ended up waiting in wait() forever. This commit cleans up the source a bit, gets rid of the testfrmw and adds funlockfile at the end of the threaded function which fixes the deadlock. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>