Hi! 
> I recall that we talked about limitation of single checkpoint per test and
> since there were 3 children it somehow got stuck in my head that I need pipes.
> But as I split it into separate testcases that should no longer apply.
> I'll look into converting it to use TST_CHECKPOINT().

There could be one instance of the checkpoint active at the time but
that is only because the TST_CHECKPOINT_INIT() does not take the FIFO
name as a parameter. The rest of the code does mostly what the pipe()
does but includes the timeout detection and has more strict error
condition checks.

If you create one checkpoint at global setup, you can reuse it in the
rest of the testcases given that WAIT and SIGNAL is called exacly once
for each test and test are not executed in parallel.

-- 
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to