Page 1 of 1

Race condition on Queue

Posted: Tue Oct 15, 2019 8:21 pm
by 0x3333
Hi!

I have a doubt regarding race condition in a queue.

If I have 2 threads writing to the same Serial object and the queue gets full(Serial baud is slow for example), the application hangs. Is it possible or I'm doing something stupid?

Thanks.

Re: Race condition on Queue

Posted: Tue Oct 15, 2019 8:40 pm
by Giovanni
Hi,

Have you tried with assertions and state checker enabled?

Also, please define hangs, it is very generic.

Giovanni