Skip to content

ThreadX Queue Message Size Limit #424

@lcdevans

Description

@lcdevans

Hello,

I'm using ThreadX on an STM32 platform. I'm confused about the queue message size limit of 64 bytes/16 words.

I have read a previous Issue ticket #122 where the user asked about it, and was directed to another link for an explanation (https://learn.microsoft.com/en-us/answers/questions/292596/about-the-limite-of-the-message-size-of-queue). I have read both threads and am still confused about this.

The reason that seems to be given in the links above is that copies of larger sizes are too inefficient. Surely that should be up to the user's discretion? The answers given to #122 seem to indicate there is no technical reason the maximum message size can't simply be bigger.

I understand there are workarounds, such as redefining TX_16_ULONG, editing the source file, disabling error checking, sending multiple messages, etc, but it is frustrating to have to add such complications to a project to get around what appears to be an arbitrary restriction. Similar platforms, such as FreeRTOS, have a much higher queue message size limit.

Can you provide any information about why this limit of 64 bytes exists? Is there a technical reason other than copy size performance? Could you consider allowing larger sizes out-of-the-box?

Thanks for your time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or enhancement request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions