You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Peter Novodvorsky (JIRA)" <ji...@apache.org> on 2007/02/19 17:49:05 UTC

[jira] Updated: (HARMONY-3139) [drlvm] [thread] interrupt is not caught in condvar_wait_impl

     [ https://issues.apache.org/jira/browse/HARMONY-3139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Novodvorsky updated HARMONY-3139:
---------------------------------------

    Component/s: DRLVM
        Summary: [drlvm] [thread] interrupt is not caught in condvar_wait_impl  (was: interrupt is not caught in condvar_wait_impl)

> [drlvm] [thread] interrupt is not caught in condvar_wait_impl
> -------------------------------------------------------------
>
>                 Key: HARMONY-3139
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3139
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM, Non-bug differences from RI
>            Reporter: Peter Novodvorsky
>            Priority: Minor
>         Attachments: CatchInterrupt.java
>
>
> When thread is being interrupted during after entering condvar_wait_impl and checking INTERRUPTED flag and before waiting on condition InterruptedException is not thrown. Patch from HARMONY-1789 could solve this issue by introducing special interrupter thread that would wait for condition to be waited on and corresponding mutex unlocked and interrupt the thread only after that. Patch from HARMONY-2217 removed interrupter thread.
> Salikh wrote test which shows the bug and it shows that same bug appears in Sun's JDK 1.5.0_05.

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