Domanda di colloquio di Airspan

Q: How would you guard shared memory in multi-tasking environment?