RVM
  1. RVM
  2. RVM-55

A thread that is interrupted prior to being scheduled won't interrupt

    Details

    • Number of attachments :
      0

      Description

      When a thread is interrupted it is assumed to have already been scheduled. If a thread hasn't then the interrupt won't occur and if a sleep(0) has been performed then the VM can deadlock. A test case for this has been added in the basic tests as of svn revision 12715.

        Activity

        Hide
        Ian Rogers added a comment -

        What's true for sleeping is also true for waiting

        Show
        Ian Rogers added a comment - What's true for sleeping is also true for waiting
        Hide
        Ian Rogers added a comment -

        The test case is fixed in a branch I will shortly start. The currently failing test case is TestInterruptedSleep2.

        Show
        Ian Rogers added a comment - The test case is fixed in a branch I will shortly start. The currently failing test case is TestInterruptedSleep2.
        Ian Rogers made changes -
        Field Original Value New Value
        Fix Version/s 3.0 [ 13530 ]
        Component/s Runtime: Threads and Concurrency [ 12865 ]
        Component/s Runtime [ 12834 ]
        Fix Version/s 2.9.1 [ 13529 ]
        Hide
        Ian Rogers added a comment -

        Fixed as of r13106.

        Show
        Ian Rogers added a comment - Fixed as of r13106.
        Ian Rogers made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Peter Donald made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Peter Donald made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Fix Version/s 3.0 [ 13530 ]
        Fix Version/s 2.9.2 [ 13599 ]

          People

          • Assignee:
            Ian Rogers
            Reporter:
            Ian Rogers
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: