|
发表于 2018-6-14 09:49:06
|
显示全部楼层
Message buffers allow variable length discrete messages to be passed from an interrupt service routine to a task, or from one task to another task. For example, messages of length 10, 20 and 123 bytes can all be written to, and read from, the same message buffer. Unlike when using a stream buffer, a 10 byte message can only be read out as a 10 byte message, not as individual bytes. Message buffers are built on top of stream buffers (that is, they use the stream buffer implementation). |
|