Changes between Version 9 and Version 10 of library_mwmr
- Timestamp:
- Nov 6, 2014, 8:04:22 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
library_mwmr
v9 v10 8 8 Each MWMR (Multi-Writer Multi-Reader) channel can be accessed concurently by one or several writer(s) and by one or several reader(s). It is implemented as a software FIFO, protected by a build-in lock. 9 9 10 This software FIFO can be directly accessed by an hardware coprocessor, thanks to the vc_mwmr_controller, but be describe here the the software API that can be used by a software application.10 This software FIFO can be directly accessed by an hardware coprocessor, thanks to the vc_mwmr_controller, but we only describe here the software API that can be used by a software applications. 11 11 12 An MWMR transaction transfer an integer number of ''items'' . An ''item'' is an integer number of unsigned int (32 bits words). The"width" parameter define the number of words contained in an atomic ''item''.12 An MWMR transaction transfer an integer number of ''items'' between a task private buffer and the MWMR channel. An ''item'' is an integer number of unsigned int (32 bits words). The channel "width" parameter define the number of words contained in an atomic ''item''. 13 13 14 14 WARNING (i) The max number of words that can be stored in a MWMR channel is 1018 words (4072 bytes), because the mwmr_channel_t object has a fixed size (4Kbytes in the present implementation).