About the limite of the message_size of queue

duan allen 76 Reputation points
2021-03-01T06:17:08.143+00:00

hi, I'm just curious why the kernel limits the message_size of queue to upper 16 32-bit word. What can I choose to do if the msg size is bigger than 16 32-bit word size?
It looks that simply disabling the size check code in _txe_queue_create dose not help.
Thanks in advance for your help.

Azure RTOS
Azure RTOS
An Azure embedded development suite including a small but powerful operating system for resource-constrained devices.
324 questions
{count} vote

Accepted answer
  1. Scott Azure RTOS 4,051 Reputation points
    2021-03-01T17:44:00.593+00:00

    Queues are designed to pass small messages or pointers to bigger messages. I suggest you pass a pointer.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful