<?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 Re: MSGQ_MESSAGE_NOT_AVAILABLE  error is received with _msg_alloc function call in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/MSGQ-MESSAGE-NOT-AVAILABLE-error-is-received-with-msg-alloc/m-p/206989#M4911</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone please help us here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Feb 2012 21:43:18 GMT</pubDate>
    <dc:creator>buddingspacer</dc:creator>
    <dc:date>2012-02-17T21:43:18Z</dc:date>
    <item>
      <title>MSGQ_MESSAGE_NOT_AVAILABLE  error is received with _msg_alloc function call</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MSGQ-MESSAGE-NOT-AVAILABLE-error-is-received-with-msg-alloc/m-p/206988#M4910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;with MQX ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MSGQ_MESSAGE_NOT_AVAILABLE&amp;nbsp; error is being &amp;nbsp;received with msg_alloc function call,&lt;/P&gt;&lt;P&gt;But its not listed in the standard task error codes for the _msg_alloc or the _mem_alloc_system function calls.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please&amp;nbsp;enlighten us here&lt;/P&gt;&lt;P align="left"&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2012 21:51:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MSGQ-MESSAGE-NOT-AVAILABLE-error-is-received-with-msg-alloc/m-p/206988#M4910</guid>
      <dc:creator>buddingspacer</dc:creator>
      <dc:date>2012-02-16T21:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: MSGQ_MESSAGE_NOT_AVAILABLE  error is received with _msg_alloc function call</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MSGQ-MESSAGE-NOT-AVAILABLE-error-is-received-with-msg-alloc/m-p/206989#M4911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone please help us here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 21:43:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MSGQ-MESSAGE-NOT-AVAILABLE-error-is-received-with-msg-alloc/m-p/206989#M4911</guid>
      <dc:creator>buddingspacer</dc:creator>
      <dc:date>2012-02-17T21:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: MSGQ_MESSAGE_NOT_AVAILABLE  error is received with _msg_alloc function call</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MSGQ-MESSAGE-NOT-AVAILABLE-error-is-received-with-msg-alloc/m-p/206990#M4912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked the _msg_alloc function implementation (C:\Freescale\Freescale MQX 3.8\mqx\source\message\ms_alloc.c) and it does not set this error anywhere in code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you check if the task error is not set already before calling _msg_alloc? The mentioned error is set only by&amp;nbsp;_msgq_open_system, _msgq_peek, _msgq_poll and _msgq_recieve_xxx functions as described in MQX Reference manual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;PetrL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2012 19:34:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MSGQ-MESSAGE-NOT-AVAILABLE-error-is-received-with-msg-alloc/m-p/206990#M4912</guid>
      <dc:creator>PetrL</dc:creator>
      <dc:date>2012-02-20T19:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: MSGQ_MESSAGE_NOT_AVAILABLE  error is received with _msg_alloc function call</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MSGQ-MESSAGE-NOT-AVAILABLE-error-is-received-with-msg-alloc/m-p/206991#M4913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks PetrL...&lt;/P&gt;&lt;P&gt;Yea, the MSGQ_MESSAGE_NOT_AVAILABLE&amp;nbsp; is set even before the call to msg_alloc.Seems that is set with the mssq_receive() call.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the question is can msg_alloc return, NULL even without setting a error code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Feb 2012 01:15:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MSGQ-MESSAGE-NOT-AVAILABLE-error-is-received-with-msg-alloc/m-p/206991#M4913</guid>
      <dc:creator>buddingspacer</dc:creator>
      <dc:date>2012-02-26T01:15:51Z</dc:date>
    </item>
  </channel>
</rss>

