<?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>Logging with FreeRTOS and thread-safety</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48400/logging-with-freertos-and-thread-safety</link><description>Hello, is the logging module thread-safe? Do I have to use a mutex when logging from a lot of tasks when using FreeRTOS or is the logging module thread-safe and I do not have to do this?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 13 Jun 2019 06:55:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48400/logging-with-freertos-and-thread-safety" /><item><title>RE: Logging with FreeRTOS and thread-safety</title><link>https://devzone.nordicsemi.com/thread/192553?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2019 06:55:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c566239b-c244-4a91-8325-fb052ab318ee</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;if nrf_mtx or&amp;nbsp;sd_nvic_critical_region_enter or&amp;nbsp;__disable_irq is not used in the driver you are using, then it is not being tested in multi thread scenario. It is then always best to assume that the application has to implement their own thread-safe mechanism for accessing any driver/libraries API in different thread contexts.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>