You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Andrew Zhang (JIRA)" <ji...@apache.org> on 2006/08/01 03:30:15 UTC

[jira] Commented: (HARMONY-815) [classlib][nio] Refine implConfigureBlocking(boolean) method of DatagramChannel and SocketChannel.

    [ http://issues.apache.org/jira/browse/HARMONY-815?page=comments#action_12424702 ] 
            
Andrew Zhang commented on HARMONY-815:
--------------------------------------

Hi Mikhail,

The fix looks fine. Thank you very much!

Best regards,
Andrew

> [classlib][nio] Refine implConfigureBlocking(boolean) method of DatagramChannel and SocketChannel.
> --------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-815
>                 URL: http://issues.apache.org/jira/browse/HARMONY-815
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>            Reporter: Andrew Zhang
>         Assigned To: Mikhail Loenko
>         Attachments: Harmony-815.zip, nio.diff
>
>
> Currently, Harmony DatagramChannel.implConfigureBlocking(boolean) does nothing. 
> It doesn't cause any problem of read operation because Harmony uses select+blocking read to ensure nonblocking reading.
> But it affects write operations, although it is difficult to test the difference between blocking write and blocking write.
> Another defect is introduced by portlib bug. As discussed on mailing list[1], connect_with_timeout always changes the fd to blocking mode after invocation. 
> I'll upload a patch to fix these problems. 
> Thanks!
> Best regards,
> Andrew

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira