# printf() from multiple threads

**URL:** <https://forums.digi.com/t/printf-from-multiple-threads/3745>\
**Category:** NET+OS\
**Tags:** tx\_thread\
**Created:** [October 10, 2007, 2:12pm UTC](https://forums.digi.com/t/printf-from-multiple-threads/3745 "2007-10-10T14:12:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![compie](https://avatars.discourse-cdn.com/v4/letter/c/4af34b/32.png) [@compie](https://forums.digi.com/u/compie)\
**Post date:** [October 10, 2007, 2:12pm UTC](https://forums.digi.com/t/printf-from-multiple-threads/3745/1 "2007-10-10T14:12:51Z")

</div>

I’m using quite a lot printf() from multiple threads at the same time. Sometimes I’m missing a complete line of output, thus a complete printf() call is not showing up).

How can I fix this? I don’t want to place tx\_mutex\_get and tx\_mutex\_put around each printf call.
