I am running into a problem with my logging implementation, and I boiled it down to the following:
function repro() @async write(stderr, "Foo", "\n") @async write(stderr, "Bar", "\n") nothing end repro()
100% of the time I get:
I appreciate that
write() can yield, but should it at least complete the write before doing so? Otherwise I have to manually concatenate everything if I want to make sure things stay on the same line.