完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
struct xLIST_ITEM
{ listFIRST_LIST_ITEM_INTEGRITY_CHECK_VALUE /*< Set to a known value if configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES is set to 1. */ configLIST_VOLAtiLE TickType_t xItemValue; /*< The value being listed. In most cases this is used to sort the list in descending order. */ struct xLIST_ITEM * configLIST_VOLATILE pxNext; /*< Pointer to the next ListItem_t in the list. */ struct xLIST_ITEM * configLIST_VOLATILE pxPrevious; /*< Pointer to the previous ListItem_t in the list. */ void * pvOwner; /*< Pointer to the object (normally a TCB) that contains the list item. There is therefore a two way link between the object containing the list item and the list item itself. */ void * configLIST_VOLATILE pvContainer; /*< Pointer to the list in which this list item is placed (if any). */ listSECOND_LIST_ITEM_INTEGRITY_CHECK_VALUE /*< Set to a known value if configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES is set to 1. */ }; typedef struct xLIST_ITEM ListItem_t; /* For some reason lint wants this as two separate definitions. */ |
|
相关推荐
7个回答
|
|
|
帮顶!!
|
|
|
|
|
|
???????????
|
|
|
|
|
|
我自己先回答下吧:pxNext和pxPrevious应该不是在创建任务的时候初始化,可能是在比如任务切换的时候才会去操作这两个成员?左工 你回答下 在哪里会操作这两个成员?调用列表项插入的时候 好像会的…
|
|
|
|
|
|
调用列表项插入函数会使用这两个成员;那么操作系统什么时候会去用列表项插入函数来向某一个列表中插入一个列表项呢?会是任务切换的时候吗?
|
|
|
|
|
|
会是任务调度的时候吗? 一期视频里 只有一个列表项插入实验;我现在想不出我用Free RTOS做项目的时候何时会用列表项插入函数? 似乎列表及列表项这些知识 做为使用系统的我们用不到? @左工
|
|
|
|
|
|
楼主,你没问清楚,你问的具体是哪一个列表项?FreeRTOS一大堆的列表和列表项,你这么问没人能笼统的回答你
|
|
|
|
|
|
兄弟,内核里用到了不少的列表和列表项,他们属于不同的数据结构和API执行过程中,理解这些列表操作的逻辑是掌握内核逻辑的关键,我该如何总结内核中所有用到的列表及其操作呢?
|
|
|
|
|
只有小组成员才能发言,加入小组>>
1018 浏览 1 评论
1849 浏览 0 评论
1830 浏览 1 评论
3254 浏览 5 评论
3581 浏览 9 评论
1021浏览 1评论
1850浏览 1评论
如何知道嵌入式电子控制单元 (ECU) 中的RAM使用情况?
1360浏览 1评论
1852浏览 0评论
1178浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-1 22:46 , Processed in 0.785971 second(s), Total 86, Slave 66 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
964