Lightweight Message Queues

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Lightweight Message Queues

跳至解决方案
2,343 次查看
Joe2
Contributor II

Hi


I was wondering when it's better to use normal message queues and when lightweight message queues are more appropriate?

I've been impressed with the lightweight forms of other RTOS elements, most of which Freescale appear
to have added to the original MQX system (or that's how it looks from the release notes). 

 

However, I can't see much information regarding lightweight message queues other than a couple of pages in the reference guide.  The training labs show full strength message queues, but lightweight versions of pretty much everything else.  I'd be pleased to hear if anyone has used them and whether there are any issues.

Cheers
Joe

0 项奖励
回复
1 解答
1,213 次查看
Nouchi
Senior Contributor II

Hello,

 

Generally speaking, lightweight messages, semaphores or events, are more suitable for small embedded systems, because of their small footprint; low ram consumption and lower CPU overhead.

 

Emmanuel

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,213 次查看
Joe2
Contributor II

Anybody used lwmsgq? 

 

Are they worth using?

 

Cheers

J

0 项奖励
回复
1,214 次查看
Nouchi
Senior Contributor II

Hello,

 

Generally speaking, lightweight messages, semaphores or events, are more suitable for small embedded systems, because of their small footprint; low ram consumption and lower CPU overhead.

 

Emmanuel

0 项奖励
回复
1,213 次查看
Joe2
Contributor II

Thanks, Emmanuel. 

 

I'm now successfully using lightweight messages, semaphores and events on the current project.

 

Joe

 

0 项奖励
回复