﻿# Critical section

Critical section\. An object of synchronization of [threads](https://pvs-studio.com/en/blog/terms/0048/) allowing you to prevent simultaneous execution of some set of operations \(usually relating to data access\) by several threads\. Critical sections work on the principle of mutex \(when a thread is in a critical section all the other threads cannot enter\)\. A critical section performs the same functions as [mutex](https://pvs-studio.com/en/blog/terms/0034/)\.

## References

1. Wikipedia\. [Critical section](https://en.wikipedia.org/wiki/Critical_section)