Hi!
> +* tst_checkpoint_signal_child() followed by tst_checkpoint_parent_wait()
> +
> +                parent                |                child
> +--------------------------------------+----------------------------------------
> +                                      | tst_checkpoint_child_wait()
> +                                      |   blocking read,
> +                                      |   waits until parent opens write side
> + tst_checkpoint_signal_child()        |
> +   NONBLOCK write                     |
> +                                      |   child is now able to read from FIFO
> + tst_checkpoint_parent_wait()         |
> +   NONBLOCK read                      |
> +   parent able to read from FIFO and  |
> +   can race with read in child        |
> +                                      | tst_checkpoint_signal_parent()
> +--------------------------------------+----------------------------------------

I've reformatted this table to fit better to the thin column on the
GitHub wiki and pushed, thanks.

-- 
Cyril Hrubis
chru...@suse.cz

------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to