mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 18:26:01 +02:00
Documentation improvement
This commit is contained in:
parent
f2eb63309f
commit
1bc4846ffb
1 changed files with 6 additions and 4 deletions
|
@ -68,10 +68,12 @@ public class ServiceEventWaitor<V> {
|
||||||
if (fEventTypeClass != null) fSession.removeServiceEventListener(this);
|
if (fEventTypeClass != null) fSession.removeServiceEventListener(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Block until 'timeout' or the previously specified event has been
|
/*
|
||||||
* received. The reason we don's specify the event as a parameter
|
* Block until 'timeout' or the previously specified event has been
|
||||||
* is that we must be ready for the event to occur event before
|
* received. The reason we don's specify the event as a parameter is that we
|
||||||
* this method is called.
|
* must be ready for the event to occur even before this method is called.
|
||||||
|
*
|
||||||
|
* @param timeout the maximum time to wait in milliseconds.
|
||||||
*/
|
*/
|
||||||
public synchronized V waitForEvent(int timeout) throws Exception {
|
public synchronized V waitForEvent(int timeout) throws Exception {
|
||||||
if (fEventTypeClass == null) {
|
if (fEventTypeClass == null) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue