Skip to content

Commit 3bcdfce

Browse files
committed
Added real life example for Poison Pill
1 parent b952469 commit 3bcdfce

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,9 @@ A programming idiom is a means of expressing a recurring construct in one or mor
522522
**Applicability:** Use the Poison Pill idiom when
523523
* need to send signal from one thread/process to another to terminate
524524

525+
**Real world examples:**
526+
* [Akka.actor.PoisonPill](http://doc.akka.io/docs/akka/2.1.4/java/untyped-actors.html)
527+
525528
## <a name="lazy-loading">Lazy Loading</a> [&#8593;](#list-of-design-patterns)
526529
**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.
527530

0 commit comments

Comments
 (0)