On 17/02/17 12:43, Ryan Joseph wrote:
> Is writeln thread safe? I’m getting some strange crashes and I’m curious if they’re related to calling writeln on multiple threads.
Unlikely. The output from different threads can be mixed at weird places
since it all goes to the same file handle and buffer flushes can
interleave, but every thread gets its own copy of the standard IO buffer