Critical Section Enter

Kalipso - Form - Actions - Actions Description - Group Code - Critical Section Enter

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 beginning of a critical section.

Action available for the following operating systems:


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

  • Timeout <numeric> - Defines time (in miliseconds) that the current thread is inside the critical section.

This action should be used in conjuction to Critical Section Leave action.

Last updated