<?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>MQX Software SolutionsのトピックRe: Listener:  Task Destroy</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Listener-Task-Destroy/m-p/194294#M3986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if RTCS alows to send dummy "unblock" messages...&lt;/P&gt;&lt;P&gt;Well, there's an option to pass RTCS_MSG_NONBLOCK flag to recvfrom() function and loop over it with some _time_delay(ms).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PetrM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 May 2011 21:16:28 GMT</pubDate>
    <dc:creator>PetrM</dc:creator>
    <dc:date>2011-05-18T21:16:28Z</dc:date>
    <item>
      <title>Listener:  Task Destroy</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Listener-Task-Destroy/m-p/194291#M3983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I stop the dhcp server task with _task_destroy() the listener seems to be left open. &amp;nbsp;How can I make sure ALL resources are released when killing a listener task?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 21:40:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Listener-Task-Destroy/m-p/194291#M3983</guid>
      <dc:creator>Mike_d</dc:creator>
      <dc:date>2011-03-28T21:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Listener:  Task Destroy</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Listener-Task-Destroy/m-p/194292#M3984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a bad design, the server is not supposed to quit.&lt;/P&gt;&lt;P&gt;The right way is to add the functionality into the server task - as a reaction on some message or event, shutdown the socket, release resources and return.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PetrM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2011 19:05:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Listener-Task-Destroy/m-p/194292#M3984</guid>
      <dc:creator>PetrM</dc:creator>
      <dc:date>2011-04-01T19:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Listener:  Task Destroy</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Listener-Task-Destroy/m-p/194293#M3985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if the task is blocking with recvfrom?&amp;nbsp; Can I do something to get it to return?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2011 20:11:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Listener-Task-Destroy/m-p/194293#M3985</guid>
      <dc:creator>Mike_d</dc:creator>
      <dc:date>2011-04-01T20:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Listener:  Task Destroy</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Listener-Task-Destroy/m-p/194294#M3986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if RTCS alows to send dummy "unblock" messages...&lt;/P&gt;&lt;P&gt;Well, there's an option to pass RTCS_MSG_NONBLOCK flag to recvfrom() function and loop over it with some _time_delay(ms).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PetrM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2011 21:16:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Listener-Task-Destroy/m-p/194294#M3986</guid>
      <dc:creator>PetrM</dc:creator>
      <dc:date>2011-05-18T21:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Listener:  Task Destroy</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Listener-Task-Destroy/m-p/194295#M3987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am facing the same problem can u tell me how to&amp;nbsp; release the resource .&lt;/P&gt;&lt;P&gt;In while (1) loop , I am shutting down the socket and trying to create the socket and it is throwing error in bind().&lt;/P&gt;&lt;P&gt;The error code is 0x1633.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Netra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Nov 2012 06:04:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Listener-Task-Destroy/m-p/194295#M3987</guid>
      <dc:creator>netra</dc:creator>
      <dc:date>2012-11-24T06:04:10Z</dc:date>
    </item>
  </channel>
</rss>

