<?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>nRF5 SDK v16.0.0 nRF Mutex lock function</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73668/nrf5-sdk-v16-0-0-nrf-mutex-lock-function</link><description>Hi there, 
 I am using nrf_mtx_trylock. 
 The explanation of nrf_mtx_trylock is &amp;quot;Try to lock a mutex.&amp;quot;. 
 I would like to lock a mutex forcibly. 
 Does the function which locks a mutex forcibly exist? 
 Best regards, 
 Yasuyuki</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 Apr 2021 12:01:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73668/nrf5-sdk-v16-0-0-nrf-mutex-lock-function" /><item><title>RE: nRF5 SDK v16.0.0 nRF Mutex lock function</title><link>https://devzone.nordicsemi.com/thread/303478?ContentTypeID=1</link><pubDate>Wed, 07 Apr 2021 12:01:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5db26525-498a-4cdf-994a-585afac54dc2</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;nrf_mtx_trylock&amp;nbsp;will only fail to lock the mutex if the mutex is already locked by another context. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Why would you want to force lock the mutex? Would that not defeat the purpose of the mutex?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Jørgen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>