harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1592) Thread interrupt and Thread.stop may not work properly if thread is waiting
Date Mon, 09 Oct 2006 23:50:24 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1592?page=comments#action_12441015 ] 
            
Geir Magnusson Jr commented on HARMONY-1592:
--------------------------------------------

This doesn't work consistently for me after patch applied.

There is a 50% chance that the test will fail.  This is after the invocationAPI patch - can
you please review to see if that had any effect?


> 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
>
>
> 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