<?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>Can I create another process on nrf9160</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74093/can-i-create-another-process-on-nrf9160</link><description>I want to create another process to monitor original process on nrf9160 can I do that? 
 (not create thread)</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 20 Apr 2021 11:23:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74093/can-i-create-another-process-on-nrf9160" /><item><title>RE: Can I create another process on nrf9160</title><link>https://devzone.nordicsemi.com/thread/305818?ContentTypeID=1</link><pubDate>Tue, 20 Apr 2021 11:23:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3f235d7-7185-44d9-adc3-8a15ed0e9998</guid><dc:creator>fatalfeel</dc:creator><description>&lt;p&gt;thanks a lot you are good man&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I create another process on nrf9160</title><link>https://devzone.nordicsemi.com/thread/305576?ContentTypeID=1</link><pubDate>Mon, 19 Apr 2021 13:42:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd31dc61-4a8e-45b2-b993-d41e1753d429</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;No, you cannot fork a thread in zephyr.&lt;/p&gt;
&lt;p&gt;You can however setup two individual threads that calls the same function. Be sure to make the function re-entrant.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;H&amp;aring;kon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I create another process on nrf9160</title><link>https://devzone.nordicsemi.com/thread/305571?ContentTypeID=1</link><pubDate>Mon, 19 Apr 2021 13:36:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c3d10f8-5284-4b12-8452-3cb2516c28ad</guid><dc:creator>fatalfeel</dc:creator><description>&lt;p&gt;TAHNKS FIRSt&lt;br /&gt;EX:&lt;br /&gt;create 2 apps for hello world can I do that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I create another process on nrf9160</title><link>https://devzone.nordicsemi.com/thread/305419?ContentTypeID=1</link><pubDate>Mon, 19 Apr 2021 07:33:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4acc08d0-a4db-4d40-95ab-6be3a27c417f</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]I want to create another process to monitor original process on nrf9160 can I do that?[/quote]
&lt;p&gt;Not 100% sure what you want to do here. Do you want to inspect the current thread wrt. stack usage? If yes, please see CONFIG_THREAD_ANALYZER, as shown in this config:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/master/samples/bluetooth/peripheral_uart/prj_minimal.conf#L71-L92"&gt;https://github.com/nrfconnect/sdk-nrf/blob/master/samples/bluetooth/peripheral_uart/prj_minimal.conf#L71-L92&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Or do you want to ensure that a specific thread does not hang? If that is the case, you can use the watchdog.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>