1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 06:02:11 +02:00

javadoc enhancement

This commit is contained in:
John Cortell 2010-03-29 16:00:01 +00:00
parent 4967787769
commit 56a2799dc0

View file

@ -37,11 +37,15 @@ public class AsyncCompletionWaitor {
public AsyncCompletionWaitor() { public AsyncCompletionWaitor() {
waitReset(); waitReset();
} }
/* /**
* A timeout of WAIT_FOREVER indicates we wait until the operation is * A timeout of WAIT_FOREVER indicates we wait until the operation is
* completed by a call to waitFinished. Or if we are interrupted * completed by a call to waitFinished. Or if we are interrupted with an
* with an exception. * exception.
*
* @param timeout the maximum time to wait in milliseconds
*
* @throws InterruptedException
*/ */
public synchronized void waitUntilDone(int timeout) throws InterruptedException { public synchronized void waitUntilDone(int timeout) throws InterruptedException {
if (fWaitFinished) return; if (fWaitFinished) return;
@ -50,7 +54,7 @@ public class AsyncCompletionWaitor {
} }
/* /**
* Indicates that we are done with the operation and the code * Indicates that we are done with the operation and the code
* waiting ( waitUntilDone ) will be allowed to continue. * waiting ( waitUntilDone ) will be allowed to continue.
*/ */