In computer science, a lock or mutex (from mutual exclusion) 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.
Learn more..Codela is a collaborative website built by programming fans just like yourself!. You can help others by contributing challenges with this tag.