Enables critical-section
critical-section: Cross-platform critical section
Cross-platform critical section