Changes between Version 16 and Version 17 of library_mwmr


Ignore:
Timestamp:
Oct 30, 2015, 10:15:40 AM (9 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • library_mwmr

    v16 v17  
    2424WARNING (ii) The channel must be declared in a non cacheable segment, if the platform does not provide hardware cache coherence.
    2525
    26 The '''mwmr_read()''' and '''mwmr_write() blocking access functions can be used to implement a parallel application complying with the KPN (Kahn Process Network) semantic.
     26The '''mwmr_read()''' and '''mwmr_write()''' blocking functions can be used to implement a parallel application complying with the KPN (Kahn Process Network) semantic.
    2727 
    28 The '''nb_mwmr_read()''' and '''nb_mwmr_write() are non blocking access that can be used to implement various higher level communication protocols.
     28The '''nb_mwmr_read()''' and '''nb_mwmr_write()''' non blocking functions can be used to implement various higher level communication protocols.
    2929
    3030Besides the MWMR channels, the MWMR library provide  another - optional - service: The '''mwmr_bufio_t''' buffer (and the associated access functions) can be used to implement a private input or output buffer,  and move data to or from a shared MWMR communication channel.  This buffer can be declared as a local variable in the stack of the reader/writer thread, and simplifies the access to the MWMR channel when the transfered data have a non fixed format, and must be analysed or produced byte per byte: an input buffer is automatically refill when it becomes empty; an output buffer is automatically flushed when it becomes full