Uploaded image for project: '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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.0M2, 5.0M14
    • Classlib
    • None
    • All platforms
    • 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.

      Attachments

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

        Activity

          People

            hindessm Mark Hindess
            chleicdl Ray Chen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment