Commit d86b605
committed
SwingConsolePane: update console only on the EDT
This avoids serious issues with multithreaded output,
as seen in TrakEM2 and reported by Stephen Saalfeld.
Unfortunately, there are substantial performance ramifications.
We may need to batch up the output into a queue, to minimize
the number of Runnables that get spawn and queued.1 parent 1295208 commit d86b605
File tree
1 file changed
+15
-8
lines changed- src/main/java/org/scijava/ui/swing/console
1 file changed
+15
-8
lines changedLines changed: 15 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
109 | 116 | | |
110 | 117 | | |
111 | 118 | | |
| |||
0 commit comments