Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Loskutov2018-11-21 16:25:18 +0000
committerSimeon Andreev2018-12-13 14:04:55 +0000
commitf01aa33b2a7155e98055c57f78608525b7e33d15 (patch)
treeb921e8bdabba945417371d109ffcc612c5ab7a63 /org.eclipse.debug.examples.memory/.classpath
parent309bfbc018e9bee99df88c1605f217e511f60c30 (diff)
downloadeclipse.platform.debug-I20181218-0120.tar.gz
eclipse.platform.debug-I20181218-0120.tar.xz
eclipse.platform.debug-I20181218-0120.zip
Added a wait in OutputStreamMonitor.getContents(), until stream reading is done or until a timeout of default 10 seconds occurs. If the timeout is reached before stream reading is done, a warning is logged. The timeout can be configured by specifying VM property: -Dorg.eclipse.debug.core.msMaxWaitTimeForStreamMonitorReading=5000 The VM property time unit is milliseconds. The wait ensures that callers of OutputStreamMonitor.getContents() actually see correct stream contents in cases such as accessing contents before the reading has even started, which could cause bug 536943. Change-Id: I7e4af3d06ef528030df5b263b3d664b853f12456 Signed-off-by: Andrey Loskutov <loskutov@gmx.de> Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
Diffstat (limited to 'org.eclipse.debug.examples.memory/.classpath')
0 files changed, 0 insertions, 0 deletions

Back to the top