On 10/27/2014 04:37 PM, Cyril Hrubis wrote:
> 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.

Good Doc and Good Fix, thank you very much folks.

Regards,
Wanlong Gao
 


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

Reply via email to