Plan to be an expert on Java Concurrency. :)
It is a long term goal, and start it from this book .
I will post the code case here after completing a chapter.
- 1. Introduction
- 2. Thread Safety
- 3. Sharing Objects
- 4. Composing Objects
- 5. Building Blocks
- 6. Task Execution
- 7. Cancellation and Shutdown
- 8. Applying Thread Pools
- 9. GUI Applications(SKIP)
- 10. Avoiding Liveness Hazards
- 11. Performance and Scalability
- 12. Testing Concurrent Programs
- 13. Explicit Locks
- 14. Building Custom Synchronizers
- 15. Nonblocking Synchronization
- 16. The Java Memory Model(no code)