Double-checked locking

id: double-checked-locking-311-9915569
title: Double-checked locking
text: In software engineering, double-checked locking is a software design pattern used to reduce the overhead of acquiring a lock by testing the locking criterion before acquiring the lock. Locking occurs only if the locking criterion check indicates that locking is required. The original form of the pattern, appearing in Pattern Languages of Program Design 3, has data races, depending on the memory model in use, and it is hard to get right. Some consider it to be an anti-pattern. There are valid for
brand slug: wiki
category slug: encyclopedia
description: Software design pattern
original url: https://en.wikipedia.org/wiki/Double-checked_locking
date created:
date modified: 2023-10-30T01:29:49Z
main entity: {"identifier":"Q2712542","url":"https://www.wikidata.org/entity/Q2712542"}
image:
fields total: 13
integrity: 14

Related Entries

Explore Next Part