mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 18:18:32 -04:00
Add callback overrides for stream buffer and message buffers (#437)
* Let each stream/message can use its own sbSEND_COMPLETED In FreeRTOS.h, set the default value of configUSE_SB_COMPLETED_CALLBACK to zero, and add additional space for the function pointer when the buffer created statically. In stream_buffer.c, modify the macro of sbSEND_COMPLETED which let the stream buffer to use its own implementation, and then add an pointer to the stream buffer's structure, and modify the implementation of the buffer creating and initializing Co-authored-by: eddie9712 <qw1562435@gmail.com>
This commit is contained in:
parent
49cb8e8b28
commit
0b46492740
8 changed files with 306 additions and 48 deletions
3
.github/lexicon.txt
vendored
3
.github/lexicon.txt
vendored
|
@ -1693,10 +1693,12 @@ pxqueuesetcontainer
|
|||
pxramstack
|
||||
pxreadycoroutinelists
|
||||
pxreadytaskslists
|
||||
pxreceivecompletedcallback
|
||||
pxregions
|
||||
pxresult
|
||||
pxrxedmessage
|
||||
pxsemaphorebuffer
|
||||
pxsendcompletedcallback
|
||||
pxstack
|
||||
pxstackbase
|
||||
pxstackbuffer
|
||||
|
@ -2796,6 +2798,7 @@ xinterruptcontroller
|
|||
xinterruptdescriptortable
|
||||
xisfeasable
|
||||
xisfeasible
|
||||
xisinsideisr
|
||||
xismessagebuffer
|
||||
xisprivileged
|
||||
xitemvalue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue