trice icon indicating copy to clipboard operation
trice copied to clipboard

SingleTricesRingCount multi task protection on TriceTransfer function

Open KammutierSpule opened this issue 5 months ago • 0 comments

SingleTricesRingCount is protected by TRICE_ENTER_CRITICAL_SECTION but on TriceTransfer function, SingleTricesRingCount--; is not protected.

It could happen that the variable is accessed at same time.

Should this be guarded too?

KammutierSpule avatar Aug 28 '24 10:08 KammutierSpule