SlicedBread 是一个用于简化 Java 多线程程序编写的类库。
It does so by doing away with “classic” multithreaded staples - that is, shared state using thread-safe objects - in favor of a set of single-threaded processes that send and receive immutable messages. In a sense it is inspired by Erlang’s messaging system. In another, the over 400 rich pages of “Java concurrency in practice” show how hard it is to write and debug a good- mannered multithreaded application in Java.