Home > Term: lock
lock
A data structure used to synchronize access to a shared resource. The most common use for a lock is in multithreaded programs where multiple threads need access to global data. Generally, only one thread can hold the lock at a time; by convention, this thread is the only one that can modify the data during this period. Some lock variants such as read-write locks allow multiple threads to hold a single lock under certain conditions. See also mutex lock
- Sõnaliik: noun
- Valdkond/domeen: Software; Computer
- Category: Operating systems
- Company: Apple
0
Looja
- Tom the translator
- 59.09% positive feedback