Hi,

In message "[ruby-talk:25823] Re: BUG? Solaris select or poll does not recover correctly when signaled"
    on 01/11/19, Ville Mattila <mulperi / iki.fi> writes:

|> I will merge this modification.  Thank you, Guy.
|
|        Unfortunaly this modification does not fix the problem. I should have
|        done tests a bit longer. Anyway here is the current situtation:

Hmm, that's too bad.

|        I think we handle SA_RESTART signal flag somehow wrongly when
|        it comes VTALRM and ruby thread time slicing.

I need more insights.

|11624:      Received signal #28, SIGVTALRM, in poll() [caught]
|11624:  poll(0xFFBEA8B8, 1, 480000)                     Err#91 ERESTART
|11624:          fd=4  ev=POLLRDNORM rev=0x4057
|
|        Put here we get SIGVTALARM in poll and the problem appears.
|        rb_therad_select's select get's EINVAL not ERESTART.

It seems you get ERESTART from poll.  Why do you get EINVAL from select?
Solaris misfeature?  I have no idea.

							matz.