Work towards #56: Add permalink to every pattern
This makes cleaner URLs thanks to jekyll
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
layout: pattern
|
||||
title: Double Checked Locking
|
||||
folder: double-checked-locking
|
||||
permalink: /patterns/double-checked-locking/
|
||||
categories: pattern_cat
|
||||
tags: pattern_tag
|
||||
---
|
||||
@ -16,4 +17,4 @@ actual locking logic proceed.
|
||||
**Applicability:** Use the Double Checked Locking pattern when
|
||||
|
||||
* there is a concurrent access in object creation, e.g. singleton, where you want to create single instance of the same class and checking if it's null or not maybe not be enough when there are two or more threads that checks if instance is null or not.
|
||||
* there is a concurrent access on a method where method's behaviour changes according to the some constraints and these constraint change within this method.
|
||||
* there is a concurrent access on a method where method's behaviour changes according to the some constraints and these constraint change within this method.
|
||||
|
Reference in New Issue
Block a user