Commit c547b05
committed
driver: SigrokDriver avoid deadlock when sigrok-cli process failed
The driver expected that the sigrok-cli is successful and starts
capturing in continuous mode. When the call is unsuccessful,
the driver then waited for the creation of the capture file forever.
Fixed by checking if the sigrok-cli process terminated prematurely
while waiting for the existence of the capture file.
Signed-off-by: Felix Zwettler <Felix.Zwettler@duagon.com>1 parent b69ff84 commit c547b05
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
152 | 162 | | |
153 | 163 | | |
154 | 164 | | |
| |||
0 commit comments