harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Li Jing Qin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6375) [classlib][nio]ServerSocketChannel hang when the main thread is waiting for request to accept and another thread try to configure the block mode on one channel
Date Fri, 05 Mar 2010 04:10:27 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12841696#action_12841696
] 

Li Jing Qin commented on HARMONY-6375:
--------------------------------------

Hi Ray,
What does the RI behave if one is accepting and another is trying to change the block mode?

>From the native aspect, when accept is called for a blocking socket, it should be blocked.
So if we have configure it as block and accept, the process should be put to sleep. During
this sleep, if we change the blocking mode, it should not have any affect.

> [classlib][nio]ServerSocketChannel hang when the main thread is waiting for request to
accept and another thread try to configure the block mode on one channel
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6375
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6375
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: All platforms
>            Reporter: Ray Chen
>         Attachments: Harmony-6375.diff, Harmony6375TestCase.java, Harmony6375TestCase_V2.java
>
>
> As the summary described:
> One thread is waiting for request to accept and another thread is trying to configure
the block mode on the same channel.
> I will attach one test case file to describe the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message