Lightweight Message Queues

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Lightweight Message Queues

ソリューションへジャンプ
2,334件の閲覧回数
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,204件の閲覧回数
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,204件の閲覧回数
Joe2
Contributor II

Anybody used lwmsgq? 

 

Are they worth using?

 

Cheers

J

0 件の賞賛
返信
1,205件の閲覧回数
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,204件の閲覧回数
Joe2
Contributor II

Thanks, Emmanuel. 

 

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

 

Joe

 

0 件の賞賛
返信