diff options
author | Sven Gothel <[email protected]> | 2015-09-21 07:30:03 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-09-21 07:30:03 +0200 |
commit | 6c45f1dbeb875790056aef424b91b54440790a2b (patch) | |
tree | 4f20b20afbab309a76fae0d9e61740483a3f6211 /src/java/com/jogamp/common/util/ArrayHashMap.java | |
parent | a8db919494e934f768ee8adb0d0bad75fa390e62 (diff) |
Bug 1219: Fix IOUtil.StreamMonitor EOS handling
- Make StreamMonitor a daemon thread, i.e. not hindering VM from exit
- Earmark each InputStream's EOS state
and only attempt to readByte if !eos
- End loop and hence the thread if all InputStream
have reached EOS.
- Don't close the InputStream.
Closing the InputStream is expected to be done
by the owner, otherwise no EOS could even be reached!
- Flush the output PrintStream at thread exit
Diffstat (limited to 'src/java/com/jogamp/common/util/ArrayHashMap.java')
0 files changed, 0 insertions, 0 deletions