I’ve read a lot of bits and pieces in the past but maybe someone can
help me finalize my thoughts here or correct me where I am wrong.
From my understanding ruby threads will not block unless you are
calling out to a C extension which blocks, or in specific off the wall
case like needing to use resolve-replace so dns lookups don’t block.
I understand it to be this way because the select loop that is used to
implement the threads will not do IO reads/writes unless there is data
that is ready.
Am I missing anything here? Are there other edge cases where ruby
threads would block?