# Critical Section Leave

> Kalipso Studio 6.1 documentation · https://doc.sysdevmobile.com/kalipso/6.1/documentation/actions/group-code-flow/critical-section-leave
>
> Leaves a critical section opened with Critical Section Enter so other threads can enter it; call it in the same event or action set.

**Critical Section Leave**

A critical section is a part of your application that you don’t want to be executed simultaneously by other threads. When you call “Critical Section Enter” action the call only returns if there is no other Thread inside the same critical section. After the call returns, no other thread can enter the same critical section until a call to “Critical Section Leave” action is made by the current thread.

This action defines the end of a critical section, and it means other threads can now enter the same critical section.

Action available for the following operating systems:

![OS Supported: Android, iOS, Win, Win32](https://doc.sysdevmobile.com/kalipso/assets/images/01_Supported_OS-5c02a51fd5080a410a07ee3ef72b6872.png)

## Parameters

* **Critical Section Id** _\<numeric> -_ Defines the handler for critical section. There are 10 pre-defined handlers for critical sections.

:::info
This action must be used in conjuction to [Critical Section Enter](https://doc.sysdevmobile.com/kalipso/6.1/documentation/actions/group-code-flow/critical-section-enter.md) action.
:::

:::info
You should call this action in the same **event** or **action set** that called Critical Section Enter.
:::
