harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <g...@pobox.com>
Subject Re: [classlib][luni] signalis interruptus in hysock
Date Fri, 01 Sep 2006 13:28:14 GMT


Artem Aliev wrote:
> Hello, guys.
> 
> Do not forgot about "portability"
> Hysock lib is a porting layer and it should work the same way on all 
> platforms.
> The windows does not support signals at all
> So the porting layer should hide all OS depended signal processing
> including this select() problem.
> +1 to my patch.
> The patch removes implementation depended feature.

That's crazy.  This isn't an "implementation dependent feature" - it's a 
side effect.

> 
> The other question is how to interrupt read/select operations in
> hyport libraries.
> The close() operation as I remember interrupt read() operation but not
> interrupt select(). Select for example could be interrupted with
> special file that could be added to the file list.

This is just getting worse and worse.

> One more time: signals is not correct way because there is no signals
> under Win32 and there is no signals API in porting layer.

Right, but this isn't a feature we've put into the linux version, it's a 
side effect.


> 
> Thanks
> Artem
> 
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> 

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message