# using newlib with FreeRTOS - comments please?

**URL:** <https://forums.freertos.org/t/using-newlib-with-freertos-comments-please/6649>\
**Category:** Kernel\
**Created:** [June 27, 2017, 2:27pm UTC](https://forums.freertos.org/t/using-newlib-with-freertos-comments-please/6649 "2017-06-27T14:27:33Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![dnadler](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/dnadler/32/35_2.png) [@dnadler](https://forums.freertos.org/u/dnadler)\
**Post date:** [January 20, 2021, 7:21pm UTC](https://forums.freertos.org/t/using-newlib-with-freertos-comments-please/6649/21 "2021-01-20T19:21:45Z")

</div>

@ripperle - The code uses vTaskSuspendAll() / xTaskResumeAll(). These support nested calls without any additional complexity.  
Hope that helps,  
Best Regards, Dave

---

<div class="post-metadata">

**Author:** ![hs2](https://avatars.discourse-cdn.com/v4/letter/h/a4c791/32.png) [@hs2](https://forums.freertos.org/u/hs2)\
**Post date:** [January 20, 2021, 7:22pm UTC](https://forums.freertos.org/t/using-newlib-with-freertos-comments-please/6649/22 "2021-01-20T19:22:49Z")

</div>

Fortunately and as documented: _Calls to [vTaskSuspendAll](https://www.freertos.org/a00134.html) can be nested._🙂

---

<div class="post-metadata">

**Author:** ![ripperle](https://avatars.discourse-cdn.com/v4/letter/r/47e85d/32.png) [@ripperle](https://forums.freertos.org/u/ripperle)\
**Post date:** [January 20, 2021, 7:53pm UTC](https://forums.freertos.org/t/using-newlib-with-freertos-comments-please/6649/23 "2021-01-20T19:53:51Z")

</div>

Ahh OK 👍 thanks, I did not think about that 🙄

Regards

[Previous page](https://forums.freertos.org/t/using-newlib-with-freertos-comments-please/6649.md?page=1)
