Hi! There are child/parent synchronization primitives in the LTP library. See include/tst_checkpoint.h and lib/tests/tst_checkpoint_child.c.
All that is needed is to initialize checkpoint, call wait in parent and once child is ready call signal in child. That will fix the first race. Once child signals the parent it needs to wait till the parent executes the test, simple pause() in child and kill() from parent should fix this part. -- Cyril Hrubis chru...@suse.cz ------------------------------------------------------------------------------ Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list