Answer
Aug 05, 2026 - 12:03 PM
A global lock is a synchronization mechanism that restricts access to a shared resource or critical section to only one thread or process at a time across the entire system or application. It is often used to prevent data corruption or inconsistencies but can lead to performance bottlenecks due to limited concurrency.
