Harmony
  1. Harmony
  2. 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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0M2, 5.0M14
    • Component/s: Classlib
    • Labels:
      None
    • Environment:
      All platforms
    • Patch Info:
      Patch Available

      Description

      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.

      1. Harmony-6375_V2.diff
        2 kB
        Ray Chen
      2. Harmony-6375.diff
        0.9 kB
        Ray Chen
      3. Harmony6375TestCase_V2.java
        2 kB
        Ray Chen
      4. Harmony6375TestCase.java
        2 kB
        Ray Chen

        Activity

          People

          • Assignee:
            Mark Hindess
            Reporter:
            Ray Chen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development