harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolay Kuznetsov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1592) Thread interrupt and Thread.stop may not work properly if thread is waiting
Date Tue, 24 Oct 2006 13:12:19 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1592?page=comments#action_12444310 ] 
            
Nikolay Kuznetsov commented on HARMONY-1592:
--------------------------------------------

Geir Magnusson Jr [24/Oct/06 05:13 AM] Test2.java doesn't even complile, does it?

I'm very sorry, I've modified original test to demonstrate problem with interrupts and missed
several occurrences of Test remained while renaming new test to test2. 

Thanks a lot for your help.
Nik. 

> Thread interrupt and Thread.stop may not work properly if thread is waiting
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-1592
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1592
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Nikolay Kuznetsov
>         Assigned To: Geir Magnusson Jr
>         Attachments: stop_interrupt_waited.patch, Test.java, Test2.java
>
>
> Thread.interrupt and Thread.stop may not wake up a thread if it's waiting. The problem
here is that both hythread_stop and hythread_interrupt do
> hythread_notify instead of hythread_notify_all on current condition the thread is waiting
on, while this notification may not affect target thread.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message