[TUHS] non-blocking IO - threads
jon at fourwinds.com
Wed Jun 3 09:12:22 AEST 2020
Rob Pike writes:
> It's only messy if you make a messy job of it.
Maybe I should explain what I meant by messy. To me, the issue with select is
that in many cases one has to either keep a lot of state somewhere, or live with
long response times while handlers complete. Threads allowed handlers to be
written in the "normal" way with state kept on the stack.
More information about the TUHS