Table of Contents
CSC 171 – SPRING 1999
OVERVIEW OF LECTURE 20
Threads and Multithreading
Synchronized
Example1
Example1
Example2
Example2
Example2
Monitors
Locking
Example1 - fix
Locking
wait() and notify()
Example3
Example3 Signing out
Example3 - request
Example3 - release
Example3 application
Example3
Example3
Producer Consumer
Example2
Locking getData() & setData()
Example2 Fix
Example2 Fix
Example2 Application
Example2 Application
Daemon Threads
Runnable Interface
|
Author: Thaddeus F. Pawlicki
|