On 9/1/06, Geir Magnusson Jr. <[EMAIL PROTECTED]> wrote:



Artem Aliev wrote:
> The hyport and hy* are a porting layer that provides os independent
> interface.
> hysock_select() does not return EINTR on windows why it should do it
> under linux?
> either user presses Ctrl-c or ctrl-\ or VM uses other signals for its
> owns needs.

I think you just gave me the answer.

The *caller* to hysock_select() needs to decide what to do on EINTR, not
hysock_select() itself.

I still don't think this is a perfect solution, but I think it's better :)


Does the above solve the problem completely or is it a temporary patch?
Will the caller to hysock_select() need to have "#ifdef Windows.... #ifdef
Linux..."?

I still want to know about J9 though.  Maybe I need to go work for IBM
again :)

geir


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Weldon Washburn
Intel Middleware Products Division

Reply via email to