ParentFull threadpantalaimon·Just disable interrupts while accessing shared data, it's two instructions and the critical section should not be long.View on HN