Caleb Tennis
2/8/2005 12:01:00 PM
On Monday 07 February 2005 22:27, William Morgan wrote:
> This might be related to [ruby-talk:109668] [ruby-talk:125125], in which
> Ruby's switch to select() over read() in the presence of Threads can
> cause freezes under kernel 2.6. But maybe not; the behavior there is
> slightly different.
>
> Can you post an strace?
I posted an strace under [ruby-talk:130019], and it shows that indeed select()
is being used in the thread and is causing the hang.
I've been able to work around the problem by switching to sysread() and
syswrite() in my class.
Thanks,
Caleb