Example to demonstrate race condition and how CriticalSectionLock API helps in resolving that.

no such method: docs