CS 342 - Lecture Notes
Fall 2017
Notes from Lecture
12/5/17
11/30/17
11/28/17
11/21/17
11/16/17
11/9/17
11/7/17
11/2/17
- notes1102.txt
- Code that passes an object across a socket
- Examples showing a progression of shared code that avoids data hazards
- ThreadTest.java - showing simple shared values (1 new thread only)
- ThreadTest2.java - showing how 2 threads interweave execution
- ThreadTest3.java - showing a data hazard and how to avoid a data hazard (1 new thread only)
- ThreadTest4.java - showing synchronized for any number of thread (data is static) and synchronizing on an object instead of a method
- ThreadTest5.java - showing synchronizing on the shared data object
- ThreadTest6.java - writing a class that does synchronized updates internally, instance of the shared data class is static
- ThreadTest7.java - writing a class that does synchronized updates internally, pointer to the shared data class is passed into the Thread class
10/26/17
- notes1026.txt
- Client Server Programs - Allows multiple parallel clients to connect
- GUI Version of the Echo Client Server Program allowing multiple parallel clients
10/24/17
10/17/17
- notes1017.txt - Exam 1 Review
- Client Server Programs that allows multiple clients to connect in series (one at a time)
10/12/17
10/9/17
10/5/17
10/3/17
9/28/17
9/26/17
9/21/17
9/19/17 - Code from Lecture
9/14/17
9/12/17 - Code from Lecture
9/7/17
9/5/17 -
cs342_c022.pdf
8/31/17
8/29/17 -
cs342_c012.pdf
Topic revision: r26 - 2017-12-06 - 18:36:07 - Main.troy