From 3bcdfce8ea6850cd281492c60fb10e008ba31e01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ilkka=20Sepp=C3=A4l=C3=A4?= Date: Wed, 17 Jun 2015 23:49:28 +0300 Subject: [PATCH] Added real life example for Poison Pill --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index e29fd8cc8..f3a262267 100644 --- a/README.md +++ b/README.md @@ -522,6 +522,9 @@ A programming idiom is a means of expressing a recurring construct in one or mor **Applicability:** Use the Poison Pill idiom when * need to send signal from one thread/process to another to terminate +**Real world examples:** +* [Akka.actor.PoisonPill](http://doc.akka.io/docs/akka/2.1.4/java/untyped-actors.html) + ## Lazy Loading [↑](#list-of-design-patterns) **Intent:** Lazy loading is a design pattern commonly used to defer initialization of an object until the point at which it is needed. It can contribute to efficiency in the program's operation if properly and appropriately used.