SE 450 Fall 2001/2002

Week 8 Lecture Notes


Java I/O (java.io.*)


Byte Streams


Character Streams


Bridging the Gap


Decorator Pattern - Structural (p. 303 in Jia)


Threads


Multi-Threaded Programming


Creating Threads




Thread Priority and Scheduling


Safety and Liveness


Safety Problems


Cooperation Between Threads


Liveness Problems