"is putstrln thread-safe?" Code Answer

1

yes, it's thread-safe in the sense that you're asking about. a handle is protected by an mvar which won't allow the buffer to become corrupted. as you pointed out, though, interleaving is a different matter.

By Jason Youk on October 2 2022

Answers related to “is putstrln thread-safe?”

Only authorized users can answer the Search term. Please sign in first, or register a free account.