Hi! > > You can easily fix this problem if you read the byte from pipe in the parent > > process (before or after the wait()). > > > > > > And there is a small synchronization problem too. If the write() in the > > signal_parent() is entered before the parent sleeps in sigtimedwait() the > > signal is lost and the test fails. > > > > What we need to do is to ensure parents sleeps in sigtimedwait() before we > > execute the write(). I guess that TST_PROCESS_STATE_WAIT() in child should > > work > > here. > > Thanks for pointing these two issues. > My test work is not that complete, sorry.
Getting things right at first try is hard and everybody does mistakes... Just keep up the good work you do ;). -- Cyril Hrubis [email protected] ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
