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.