Lock (computer Science)

Lock (computer Science)

In computer science, a lock is a synchronization mechanism for enforcing limits on access to a resource in an environment where there are many threads of execution. A lock is designed to enforce a mutual exclusion concurrency control policy.

Read more about Lock (computer Science):  Types, Granularity, Database Locks, The Problems With Locks, Language Support

Other related articles:

Lock (computer Science) - Language Support
... See also Barrier computer science)Language support for locking depends on the language used There is no API to handle mutexes in the ISO/IEC standard for C ... The current ISO C+ standard,C+11,supports threading facilities ... The OpenMP standard is supported by some compilers,and this provides critical sections to be specified using pragmas ...

Famous quotes containing the word lock:

    There warn’t anybody at the church, except maybe a hog or two, for there warn’t any lock on the door, and hogs likes a puncheon floor in summertime because it’s cool. If you notice, most folks don’t go to church only when they’ve got to; but a hog is different.
    Mark Twain [Samuel Langhorne Clemens] (1835–1910)