image

CHAPTER

19

Callables, Futures, Executors, and Fork/Join

imagehe last two chapters covered various aspects of thread programming. Thread programming is a vast subject. So far we have discussed how to create threads, the various thread-synchronization issues, how deadlocks occur, and the different mechanisms introduced in J2SE 5.0 to deal with thread synchronization. The Concurrency framework defines several more classes that reflect the additional aspects of thread programming we have not covered so far. The last chapter covered the different types of ...

Get Java Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.