noun
In concurrent programming, a code segment that accesses shared resources and must not be executed by more than one thread or process at a time.
マルチスレッドプログラムでは、危険地域を適切に保護する必要がある。
In multithreaded programs, critical sections must be properly protected.
セマフォを使って危険地域への同時アクセスを防ぐ。
Use semaphores to prevent simultaneous access to the critical section.