How CRITICAL_REGION work in project?

I'm using the nrf52832 wth nrf SDK17.

I defined a linked list to organize my data.

Usually, I add or delete data in ble_evt_handler and operate them in other interrupts.But the boundary violation will happened frequently.

So I think maybe I need to use critical region.

However,I can not evaluate the affect of critical region,whether temporal or logical.

I want to know how critical region work in my project.

Related