Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SwingUtilities.invokeLater hang or deadlock




The problem is
only shifted, though, not eliminated. I have seen such attempts actually
cause the deadlock to occur more often ("The best-laid schemes..." and all).



I could imagine situations where the underlying problem was a 'race condition' when thread scheduling might make a difference in who won the race. I would think it impossible though to guarantee even scheduling order with 3 threads and 2 priorities which was more or less what I was arguing since AWT-AppKit seemed involved.



Mike Hall mikehall at spacestar dot net http://www.spacestar.net/users/mikehall http://sourceforge.net/projects/macnative



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: SwingUtilities.invokeLater hang or deadlock (From: Greg Guerin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.