We use evented I/O with fibers sharing a single main thread. However currently we just use fprintf for logging. I don't think this is a big deal but we should look into it at some point.
Note that Linux supports fopencookie and BSD supports something similar but different, so we could write a non-blocking wrapper around stderr and keep using the existing fprintfs. Might have portability problems though.
Tagging this security since in theory it could result in a denial of service attack.
We use evented I/O with fibers sharing a single main thread. However currently we just use
fprintf
for logging. I don't think this is a big deal but we should look into it at some point.Note that Linux supports
fopencookie
and BSD supports something similar but different, so we could write a non-blocking wrapper aroundstderr
and keep using the existingfprintf
s. Might have portability problems though.Tagging this security since in theory it could result in a denial of service attack.