<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Private Message Queue - Threadsafe? in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Private-Message-Queue-Threadsafe/m-p/232124#M6345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 4 senders and only 1 receiver in my application, so I want to realize some sort of mailslot where I have N senders and 1 receiver.&lt;/P&gt;&lt;P&gt;Is it possible to realize this with only one message queue, that is created (with _msgq_open()) in the receiver and shared as extern variable with the other tasks or do I need one separate message for every task --&amp;gt; 4 + 1 = 5 message queues?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I refer to chapter "3.7.7.6 Using Private Message Queues to Receive Messages" of MQX-UG Rev. 3 it says:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"&lt;SPAN style="text-decoration: underline;"&gt;A task can send a message to any private message queue&lt;/SPAN&gt;, but only the task that opened a private message&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;queue can receive messages from it. Only one task at a time can have the private message queue open."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I guess it should work with only one message queue object. What is your opinion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR Johannes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Nov 2013 14:17:53 GMT</pubDate>
    <dc:creator>johannestraxler</dc:creator>
    <dc:date>2013-11-27T14:17:53Z</dc:date>
    <item>
      <title>Private Message Queue - Threadsafe?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Private-Message-Queue-Threadsafe/m-p/232124#M6345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 4 senders and only 1 receiver in my application, so I want to realize some sort of mailslot where I have N senders and 1 receiver.&lt;/P&gt;&lt;P&gt;Is it possible to realize this with only one message queue, that is created (with _msgq_open()) in the receiver and shared as extern variable with the other tasks or do I need one separate message for every task --&amp;gt; 4 + 1 = 5 message queues?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I refer to chapter "3.7.7.6 Using Private Message Queues to Receive Messages" of MQX-UG Rev. 3 it says:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"&lt;SPAN style="text-decoration: underline;"&gt;A task can send a message to any private message queue&lt;/SPAN&gt;, but only the task that opened a private message&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;queue can receive messages from it. Only one task at a time can have the private message queue open."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I guess it should work with only one message queue object. What is your opinion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR Johannes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2013 14:17:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Private-Message-Queue-Threadsafe/m-p/232124#M6345</guid>
      <dc:creator>johannestraxler</dc:creator>
      <dc:date>2013-11-27T14:17:53Z</dc:date>
    </item>
  </channel>
</rss>

