CS 342 - Lecture Notes

Fall 2017

Notes from Lecture

12/7/17

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

10/24/17

10/17/17

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 attachments
I Attachment Action Size Date Who Comment
Java source code filejava ButtonTest.java manage 2.8 K 2017-09-07 - 18:50 UnknownUser  
PDFpdf CS_342_112817.pdf manage 855.4 K 2017-11-29 - 16:35 UnknownUser  
PDFpdf Clean_Code_Chpt_1.pdf manage 302.0 K 2017-10-16 - 16:29 UnknownUser  
PowerPointpptx Clean_Code_Chpt_1.pptx manage 41.8 K 2017-09-07 - 16:00 UnknownUser  
PDFpdf Clean_Code_Chpt_2.pdf manage 301.4 K 2017-10-16 - 16:29 UnknownUser  
PowerPointpptx Clean_Code_Chpt_2.pptx manage 36.7 K 2017-09-07 - 16:00 UnknownUser  
PDFpdf Clean_Code_Chpt_3.pdf manage 289.0 K 2017-10-16 - 16:29 UnknownUser  
PowerPointpptx Clean_Code_Chpt_3.pptx manage 36.3 K 2017-09-29 - 17:16 UnknownUser  
PDFpdf Clean_Code_Chpt_4.pdf manage 286.9 K 2017-10-16 - 16:29 UnknownUser  
PowerPointpptx Clean_Code_Chpt_4.pptx manage 35.1 K 2017-09-29 - 17:16 UnknownUser  
PDFpdf Clean_Code_Chpt_7.pdf manage 291.6 K 2017-10-16 - 16:29 UnknownUser  
PowerPointpptx Clean_Code_Chpt_7.pptx manage 38.2 K 2017-10-05 - 19:22 UnknownUser  
Java source code filejava CountDown.java manage 4.0 K 2017-09-07 - 18:51 UnknownUser  
Compressed Zip archivezip CountDownImages.zip manage 3.8 K 2017-09-07 - 19:00 UnknownUser  
Java source code filejava EchoClient.java manage 1.2 K 2017-10-05 - 19:23 UnknownUser  
Java source code filejava EchoClient1c.java manage 1.8 K 2017-10-18 - 02:11 UnknownUser  
Java source code filejava EchoClient2.java manage 1.4 K 2017-11-02 - 15:28 UnknownUser  
Java source code filejava EchoClient3.java manage 4.4 K 2017-11-02 - 15:28 UnknownUser  
Java source code filejava EchoClient4.java manage 5.7 K 2017-11-29 - 17:42 UnknownUser  
Java source code filejava EchoGui.java manage 8.5 K 2017-11-16 - 16:51 UnknownUser  
Java source code filejava EchoServer.java manage 1.7 K 2017-10-05 - 19:23 UnknownUser  
Java source code filejava EchoServer1c.java manage 1.8 K 2017-10-18 - 02:11 UnknownUser  
Java source code filejava EchoServer2.java manage 2.7 K 2017-11-02 - 15:28 UnknownUser  
Java source code filejava EchoServer2a.java manage 2.7 K 2017-11-02 - 15:27 UnknownUser  
Java source code filejava EchoServer2b.java manage 2.2 K 2017-11-02 - 15:28 UnknownUser  
Java source code filejava EchoServer2c.java manage 2.7 K 2017-11-02 - 15:29 UnknownUser  
Java source code filejava EchoServer2d.java manage 3.1 K 2017-11-02 - 15:29 UnknownUser  
Java source code filejava EchoServer3.java manage 4.6 K 2017-11-02 - 15:27 UnknownUser  
Java source code filejava EchoServer4.java manage 5.3 K 2017-11-29 - 17:42 UnknownUser  
Java source code filejava FlowLayoutDemo.java manage 3.6 K 2017-09-12 - 17:28 UnknownUser  
Java source code filejava GridLayoutDemo.java manage 2.8 K 2017-09-12 - 17:28 UnknownUser  
Java source code filejava GridLayoutDemoV1.java manage 3.2 K 2017-09-12 - 17:29 UnknownUser  
Java source code filejava GridLayoutDemoV2.java manage 3.6 K 2017-09-12 - 17:29 UnknownUser  
Java source code filejava MenuTest.java manage 7.7 K 2017-09-19 - 04:24 UnknownUser  
Java source code filejava NestedLayoutGui.java manage 2.2 K 2017-09-19 - 17:33 UnknownUser  
Java source code filejava Point2d.java manage 3.2 K 2017-11-03 - 16:54 UnknownUser  
Java source code filejava Point3d.java manage 2.5 K 2017-11-03 - 16:54 UnknownUser  
Java source code filejava SerialClient.java manage 1.4 K 2017-11-03 - 16:54 UnknownUser  
Java source code filejava SerialServer.java manage 1.4 K 2017-11-03 - 16:54 UnknownUser  
Java source code filejava SimpleGui.java manage 1.9 K 2017-09-19 - 17:32 UnknownUser  
Java source code filejava ThreadTest.java manage 0.8 K 2017-11-02 - 19:16 UnknownUser  
Java source code filejava ThreadTest2.java manage 0.8 K 2017-11-02 - 19:16 UnknownUser  
Java source code filejava ThreadTest3.java manage 1.4 K 2017-11-02 - 19:17 UnknownUser  
Java source code filejava ThreadTest4.java manage 1.4 K 2017-11-02 - 19:17 UnknownUser  
Java source code filejava ThreadTest5.java manage 1.4 K 2017-11-02 - 19:17 UnknownUser  
Java source code filejava ThreadTest6.java manage 1.7 K 2017-11-02 - 19:17 UnknownUser  
Java source code filejava ThreadTest7.java manage 2.2 K 2017-11-02 - 19:17 UnknownUser  
Java source code filejava TwoButtons.java manage 2.0 K 2017-09-07 - 18:51 UnknownUser  
Java source code filejava UsingExceptions.java manage 4.1 K 2017-10-05 - 19:23 UnknownUser  
Java source code filejava bt2.java manage 1.9 K 2017-09-12 - 17:28 UnknownUser  
GIFGIF bug1.GIF manage 1.5 K 2017-09-07 - 20:06 UnknownUser  
GIFGIF bug2.GIF manage 1.6 K 2017-09-07 - 20:06 UnknownUser  
PDFpdf cs342_c012.pdf manage 949.7 K 2017-09-19 - 05:17 UnknownUser  
PDFpdf cs342_c022.pdf manage 846.5 K 2017-09-19 - 05:20 UnknownUser  
PDFpdf cs342_c03.pdf manage 501.1 K 2017-10-16 - 17:01 UnknownUser  
PDFpdf cs342_c04.pdf manage 1203.0 K 2017-10-16 - 17:02 UnknownUser  
PDFpdf cs342_c04a.pdf manage 1203.0 K 2017-10-16 - 17:04 UnknownUser  
PDFpdf cs342_c05.pdf manage 746.6 K 2017-10-16 - 16:39 UnknownUser  
PDFpdf cs342_c06.pdf manage 1307.8 K 2017-10-16 - 16:55 UnknownUser  
PDFpdf cs342_c07.pdf manage 1303.2 K 2017-10-16 - 16:39 UnknownUser  
PDFpdf cs342_c08_factory.pdf manage 1531.4 K 2017-10-24 - 16:54 UnknownUser  
PDFpdf cs342_c10_singleton_iterator.pdf manage 1449.0 K 2017-12-06 - 18:26 UnknownUser  
PDFpdf cs342_c12_review.pdf manage 898.6 K 2017-12-06 - 18:35 UnknownUser  
PDFpdf cs342_c13_adapter.pdf manage 556.6 K 2017-12-06 - 18:07 UnknownUser  
Texttxt notes0907.txt manage 1.0 K 2017-09-07 - 19:00 UnknownUser  
Texttxt notes0928.txt manage 0.4 K 2017-09-29 - 17:16 UnknownUser  
Texttxt notes1005.txt manage 0.2 K 2017-10-05 - 19:24 UnknownUser  
Texttxt notes1012.txt manage 2.7 K 2017-10-16 - 19:47 UnknownUser  
Texttxt notes1017.txt manage 2.8 K 2017-10-17 - 20:03 UnknownUser  
Texttxt notes1026.txt manage 0.4 K 2017-10-26 - 20:09 UnknownUser  
Texttxt notes1102.txt manage 2.4 K 2017-11-02 - 19:18 UnknownUser  
Texttxt notes1109.txt manage 1.4 K 2017-11-16 - 16:52 UnknownUser  
Texttxt notes1116.txt manage 4.5 K 2017-11-17 - 21:39 UnknownUser  
Texttxt notes1128.txt manage 0.6 K 2017-11-29 - 17:42 UnknownUser  
Texttxt notes1130.txt manage 2.6 K 2017-12-01 - 20:14 UnknownUser  
Texttxt notes1207.txt manage 2.5 K 2017-12-07 - 19:55 UnknownUser  
Edit | Attach | Print version | History: r28 < r27 < r26 < r25 < r24 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r27 - 2017-12-07 - 19:55:32 - Main.troy
 
Copyright 2016 The Board of Trustees
of the University of Illinois.webmaster@cs.uic.edu
WISEST
Helping Women Faculty Advance
Funded by NSF