Deprecated: $wgMWOAuthSharedUserIDs=false is deprecated, set $wgMWOAuthSharedUserIDs=true, $wgMWOAuthSharedUserSource='local' instead [Called from MediaWiki\HookContainer\HookContainer::run in /var/www/html/w/includes/HookContainer/HookContainer.php at line 135] in /var/www/html/w/includes/Debug/MWDebug.php on line 372
Parallel programming using Java threads. Incl. 1 CD-ROM - MaRDI portal

Parallel programming using Java threads. Incl. 1 CD-ROM (Q2756964)

From MaRDI portal





scientific article; zbMATH DE number 1675402
Language Label Description Also known as
English
Parallel programming using Java threads. Incl. 1 CD-ROM
scientific article; zbMATH DE number 1675402

    Statements

    0 references
    20 November 2001
    0 references
    Java threads
    0 references
    Java synchronization mechanisms
    0 references
    UNIX semaphores
    0 references
    deadlocks
    0 references
    Parallel programming using Java threads. Incl. 1 CD-ROM (English)
    0 references
    This book deals with parallel programming using Java threads, which requires advanced knowledge of Java. After the introduction of basic concepts such as parallelism, concurrency, processes, and threads, the creation of threads and problems using shared objects by more than one thread are treated. Next, the basic Java synchronization mechanisms (synchronized, wait, notify, and notify All) are introduced. Also, traditional synchronization constructs and well-known synchronization problems are discussed. This includes a Java implementation of UNIX semaphores, message queues, and pipes, as well as a Java solution for the dining philosophers and the readers-writers problem. Typical patterns for synchronized methods are presented, and the behavior of the Java synchronization concepts is described by Petri net models. One chapter is devoted to deadlocks and mechanisms for deadlock avoidance. In the final chapter, several additional features of Java threads are dealt with, such as the deprecated thread methods stop, suspend and resume, thread priorities, user and demon threads, and thread groups. Also, suggestions are made how threads can be used with graphical user interfaces (Swing classes). An attached CD contains all Java programming examples, animations for semaphores, message queues, pipes, the dining philosophers and readers-writers problem, as well as a Petri net editor and simulator.
    0 references
    0 references

    Identifiers