Work towards #56: Add permalink to every pattern

This makes cleaner URLs thanks to jekyll
This commit is contained in:
Markus
2015-08-15 18:03:05 +02:00
parent fbb12b53ba
commit fdb9be1e76
57 changed files with 113 additions and 80 deletions

View File

@ -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.