Skip to content

[BUG]taskEVENT_LIST_ITEM_VALUE_IN_USE #1263

@Linux-yzy

Description

@Linux-yzy

Describe the bug
The xTaskPriorityInherit function has the following judgment:
if( ( listGET_LIST_ITEM_VALUE( &( pxMutexHolderTCB->xEventListItem ) ) & taskEVENT_LIST_ITEM_VALUE_IN_USE ) == 0UL )
{

}
#define taskEVENT_LIST_ITEM_VALUE_IN_USE 0x80000000UL
However, in the queue function, even if the tasks are blocked, the value of xItemValue in xEventListItem is always less than 32, which causes the above judgment to always be true.

Screenshots

Image

Image

Additional context
Add any other context about the problem here.
e.g. code snippet to reproduce the issue.
e.g. stack trace, memory dump, debugger log, and many etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions