[ 
http://issues.apache.org/jira/browse/XALANJ-2242?page=comments#action_12448373 
] 
            
Dave Brosius commented on XALANJ-2242:
--------------------------------------

Sun's implemenation of java.lang.Thread calls wait and notify on 'this' for 
it's own purposes. (Which obviously is a bad design). If you call notify or 
wait on the thread as well, you will interfere with how the class works.



> [PATCH] wait/notifying on a Thread object interferes with Thread behaviour
> --------------------------------------------------------------------------
>
>                 Key: XALANJ-2242
>                 URL: http://issues.apache.org/jira/browse/XALANJ-2242
>             Project: XalanJ2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: Latest Development Code
>            Reporter: Dave Brosius
>            Priority: Minor
>         Attachments: spurious_thread_states.diff
>
>
> Calling wait or notify/notifyAll on the thread object itself, interferes with 
> the basic Thread management built into the jvm, causing spurious thread 
> states, including threads waking up when not expected, etc. 
> This patch fixes this

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to