Java 8: Multithreaded programs

Software Development

( 0 )
166 pages
This book is the eighth in a series of books on software development.
This is a free eBook for students
Download free textbooks as PDF or read online. Less than 15% adverts
Business subscription free for the first 30 days, then $5.99/mo
Latest eBooks
About the author

Poul Klausen er uddannet cand. scient. i matematik fra Aarhus Universitet med speciale i algebraisk topologi. Efter universitetet og et efterfølgende pædagogikum har Poul Klausen primært arbejdet som underviser og det især inden for it uddannelser og gennem de sidste mange år som underviser på d


The book deals with threads, and how you in Java can synchronize threads that share resources. The book has primarily focus on programming and the language Java, and only in the final example, the is focusing on system development and thus the process. The book ends with a short appendix as an introduction to the Java virtual machine JVM and what it is.

Click here to download the source files from this book.

  1. Introduction 
    1. Create a thread 
    2. Threads properties 
  2. join 
  3. Synchronization of threads 
  4. Deadlock 
  5. Stop a thread 
  6. wait() and notify() 
  7. Timers 
  8. Concurrency Tools 
    1. Executors 
    2. CountDownLatch 
    3. CyclicBarrier 
    4. Exchanger 
    5. Semaphore 
    6. Phaser 
    7. Locks 
    8. ReadWriteLock 
    9. Collections 
    10. Parallelism 
    11. CompletionService 
  9. Atomic variabler 
    1. Swing 
    2. SwingWorker 
    3. A Timer 
  10. Calendar 
    1. Task formulation 
    2. Analysis 
    3. Design 
    4. Programmering 
    5. Test 
    6. Delivery