<?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>Zephyr- thread not running</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91302/zephyr--thread-not-running</link><description>Hello, 
 I am using the nRF 9160 DK board. I am trying to create simple thread in Zephyr. 
 but the thread it&amp;#39;s not running. 
 this is the code: 
 
 I tried also the other method that uses K_thread_create but it still the same problem. 
 
 Note: when</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Aug 2022 16:00:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91302/zephyr--thread-not-running" /><item><title>RE: Zephyr- thread not running</title><link>https://devzone.nordicsemi.com/thread/383128?ContentTypeID=1</link><pubDate>Wed, 24 Aug 2022 16:00:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab795b7f-58e9-4437-b2ae-844279f550c4</guid><dc:creator>mourad</dc:creator><description>&lt;p&gt;oups I forgot to add&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;k_msleep(1000); in the while of main&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>