Kernel.Select from ruby causing Thread(0x7f1a159abd58): deadlock (fatal)
Posted
by ElTren
on Stack Overflow
See other posts from Stack Overflow
or by ElTren
Published on 2010-05-28T02:13:33Z
Indexed on
2010/05/28
2:21 UTC
Read the original article
Hit count: 232
I don't have multiple threads or anything like that, and I thought select() was non-blocking, however, as I add more items to an array used as the IO object, and using select(), after about 1000~ items in the array (with some interaction on them).. the whole script exits with a deadlock / fatal error...
Hope any1 could help Thank you so much!
© Stack Overflow or respective owner