Practical Concurrency Patterns: Immutability (Freezables)

2008年08月19日 19:30 • 查看 7 次 • 打印本文

Another very simple pattern builds on the foundation of the Safe-Unsafe Cache pattern. What is the easiest way to protect data from multi-threaded access and to incur the minimal performance cost while doing so? Making it read-only!

查看原文 »

评论

发表评论