Any blocking nurses function should be marked as blocking, with FFI, so they release Ruby's global interpreter lock thus allowing other threads to run. This can be done by adding ":blocking => true" to the appropriate functions defined in FUNCTIONS.
The only function I personally use that should have this is wgetch but there are probably others.
Any blocking nurses function should be marked as blocking, with FFI, so they release Ruby's global interpreter lock thus allowing other threads to run. This can be done by adding ":blocking => true" to the appropriate functions defined in FUNCTIONS.
The only function I personally use that should have this is wgetch but there are probably others.