Open U2654 opened 3 years ago
Would you like to have stop
in an undefined state when threads are running?
Sorry, you got me wrong. I did not mean initialising (which indeed should be in the c'tor) but setting its value inside the c'tor to true
and after thread initialisation to false
.
In the constructor of AbstractUART (line 54 of file), you set
stop = false
. I would suggest to set it the variable false after the treads are started? Or do I miss something?