The string to be printed is accumulated into a local buffer before being sent to puts(). This ensure that if multiple threads are running and printing at the same time, their output won't be interleaved (across individual print statements-- it still may be interleaved across different print statements, just like in C). Issue #293.
8.2 KiB
8.2 KiB