Concurrency and Threads
Business Competences (Concurrency/threads)
As a programmer there are problems that can only (realistically) be solved using concurrency features
Taking advantage of modern multi-kernel CPU requires an understanding of how to program with threads
These lessons will provide the student with the necessary background to use these features in Java, with all concepts being generalisable to many other languages as well.
Plan
Day 1 - Concurrency, Thread, Runnable, basic Synchronization
Day 2 - Threads Continued, Producer Consumer, DeadLocks
Day 3 - Thread Continued, Callables and Futures
Day 4-5 - StudyPoint Exercise -1
Plan + redings for each class
Resources:
- Exercises Day-1 (Basic thread creation and raceconditions)
- Exercises Day-2 (Producer/Consumer and Deadlocks)
- See the individual classes (A or B) for the day-3 exercise
- Exam preparation Day 4 and 5