<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Thread state</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123236/thread-state</link><description>Use API: k_thread_state_str() to get the status of the thread, but I don&amp;#39;t know the length and content of the obtained string. I want to understand this part.I want to query the state of thread A to decide whether to create thread A again。 
 I&amp;#39;ve found</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 25 Jul 2025 03:14:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123236/thread-state" /><item><title>RE: Thread state</title><link>https://devzone.nordicsemi.com/thread/543579?ContentTypeID=1</link><pubDate>Fri, 25 Jul 2025 03:14:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4ca4e94-969e-45b3-8ce6-1a0f8ada3bac</guid><dc:creator>Libre-L</dc:creator><description>&lt;p&gt;Thanks ！&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thread state</title><link>https://devzone.nordicsemi.com/thread/543499?ContentTypeID=1</link><pubDate>Thu, 24 Jul 2025 12:43:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f129dbd-2cd4-4f26-af4a-b820a997df7b</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;You can see how it&amp;#39;s used e.g. here:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v4.0.99-ncs1/subsys/shell/modules/kernel_service/thread/list.c#L85"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v4.0.99-ncs1/subsys/shell/modules/kernel_service/thread/list.c#L85&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>