spinlock
A lock that waits by looping, used between two CPU cores.
A spinlock is taken by looping until it is free. On a dual-core ESP32 a critical section uses one (portMUX_TYPE) so the other core is kept out too, which disabling interrupts on one core can't do.