1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-19 15:05:36 +02:00
cdt/terminal/plugins
Jonah Graham 327026010b Bug 573110: Emulator can spin if Reader is ready but not available
The implementation of the read loop in the emulator can spin because
it uses Reader.ready() to determine if there is more data to read.

However the Reader contract does not specify that ready() means
that read() will return a character, simply it means that read()
won't block. As such, if a Reader won't block, but it has no
characters, the inner read loop will spin constantly polling.

The outer loop uses polling too - but it has a wait so that the
CPU does not hit 100% and yields.

Change-Id: Id9b2426c65e6c2a2c3ae817a78d2be435e568c1f
2021-04-23 21:24:45 -04:00
..
org.eclipse.tm.terminal.connector.cdtserial Bug 551817: Fix legal docs - and automate their checks 2020-08-30 23:15:59 -04:00
org.eclipse.tm.terminal.connector.local Bug 573121: Remove unneeded dependencies in terminal 2021-04-23 21:24:17 -04:00
org.eclipse.tm.terminal.connector.process Bug 573121: Remove unneeded dependencies in terminal 2021-04-23 21:24:17 -04:00
org.eclipse.tm.terminal.connector.remote Bug 568856: Upgrade BREE to Java 11 2020-11-16 10:27:05 -05:00
org.eclipse.tm.terminal.connector.ssh Bug 572552 - CDT releng: update versions to 10.3.0 2021-04-04 16:17:25 -04:00
org.eclipse.tm.terminal.connector.telnet Bug 567810: Squash over zealous warning from PDE 2020-10-12 10:14:26 -04:00
org.eclipse.tm.terminal.control Bug 573110: Emulator can spin if Reader is ready but not available 2021-04-23 21:24:45 -04:00
org.eclipse.tm.terminal.test Remove launch files that have little value 2021-04-06 13:38:01 -04:00
org.eclipse.tm.terminal.view.core Bug 572552 - CDT releng: update versions to 10.3.0 2021-04-04 16:17:25 -04:00
org.eclipse.tm.terminal.view.ui Bug 563015: terminal: open files/links with ctrl-click 2021-04-12 16:04:07 -04:00
pom.xml Bug 572552 - CDT releng: update versions to 10.3.0 2021-04-04 16:17:25 -04:00