How can I determine if a wait(timeout) timed out

John Zukowski

There is no way to determine if wait() returned because of a notify or a timeout.

For info on this and other limitations of threads, see If I were king: A proposal for fixing the Java programming language's threading problems by Allen Holub, over at IBM's developerWorks.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact