2019 | OriginalPaper | Buchkapitel
20. Multi-threaded Programs
verfasst von : Dr. Quentin Charatan, Dr. Aaron Kans
Erschienen in: Java in Two Semesters
Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.
Wählen Sie Textabschnitte aus um mit Künstlicher Intelligenz passenden Patente zu finden. powered by
Markieren Sie Textabschnitte, um KI-gestützt weitere passende Inhalte zu finden. powered by
Abstract
-
explain how concurrency is achieved by means of time-slicing;
-
distinguish between threads and processes;
-
implement threads in Java;
-
explain the difference between asynchronous and synchronized thread execution;
-
explain the terms critical section and mutual exclusion, and describe how Java programs can be made to implement these concepts;
-
explain how busy waiting can be avoided in Java programs;
-
provide a state transition diagram to illustrate the thread life-cycle;
-
describe how the javafx.concurrent package is used to produce multithreaded JavaFX applications;
-
use the Task class and the Service class from the above package in JavaFX applications;
-
use the above classes to create animated applications in JavaFX.