<?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のトピックTemporarily disable context / task switching.</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Temporarily-disable-context-task-switching/m-p/175664#M2302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a section of code (a few lines) which much not be interrupted (updating the hardware watchdog) by context/task switching. How can I tell MQX to temporarily disable task switching? I couldn't find anything in the documention, but I was sure I've seen it before...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jun 2012 01:10:50 GMT</pubDate>
    <dc:creator>brad_ci</dc:creator>
    <dc:date>2012-06-28T01:10:50Z</dc:date>
    <item>
      <title>Temporarily disable context / task switching.</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Temporarily-disable-context-task-switching/m-p/175664#M2302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a section of code (a few lines) which much not be interrupted (updating the hardware watchdog) by context/task switching. How can I tell MQX to temporarily disable task switching? I couldn't find anything in the documention, but I was sure I've seen it before...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 01:10:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Temporarily-disable-context-task-switching/m-p/175664#M2302</guid>
      <dc:creator>brad_ci</dc:creator>
      <dc:date>2012-06-28T01:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Temporarily disable context / task switching.</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Temporarily-disable-context-task-switching/m-p/175665#M2303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to answer my own question:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;_task_stop_preemption();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;_task_start_preemption();&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 01:58:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Temporarily-disable-context-task-switching/m-p/175665#M2303</guid>
      <dc:creator>brad_ci</dc:creator>
      <dc:date>2012-06-28T01:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Temporarily disable context / task switching.</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Temporarily-disable-context-task-switching/m-p/175666#M2304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should the interrupts also be disabled?&lt;/P&gt;&lt;P&gt;I have used:&lt;/P&gt;&lt;P&gt;_int_disable();&lt;BR /&gt;_int_enable();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;~Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 12:28:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Temporarily-disable-context-task-switching/m-p/175666#M2304</guid>
      <dc:creator>MarkP_</dc:creator>
      <dc:date>2012-06-28T12:28:42Z</dc:date>
    </item>
  </channel>
</rss>

