# | Line 208 | Line 208 | int16 XSERDPort::open(uint16 config) | |
---|---|---|
208 | configure(config); | |
209 | ||
210 | // Start input/output threads | |
211 | + | input_thread_cancel = false; |
212 | + | output_thread_cancel = false; |
213 | if (sem_init(&input_signal, 0, 0) < 0) | |
214 | goto open_error; | |
215 | if (sem_init(&output_signal, 0, 0) < 0) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |