EECS 338 Spring 2002

Wednesday Recitation

Contact Information

Stuart Morgan
sbm5@po.cwru.edu (Please put "338" somewhere in the subject)
791-3133

Recitation: Olin 313

Wednesday 8:30-9:20

Office Hours: Olin 404.5 (Unix lab)

Monday 12:25-1:25
Wednesday 9:30-10:30
Friday 2:30-3:30

Other Class Pages

EECS 338 Main Page
Steven Huwig's Recitation, Thursday 1:15-2:05
Rick Wash's Recitation, Monday 4:30-5:20
Sample student web page (mine from last year, broken links)

Current student web pages

Announcements

4/17/02 As promised, here is my exam 2 from last year, complete with some wrong answers, so make sure you look at whether or not my answers are correct. Some corrected answers have been added. For now, the format is 4 jpgs, one per page. I'll clean them up and make them pdfs later this afternoon. page 1, page 2, page 3, page 4.
3/21/02 Brent Hughes wrote a bash script that removes all your ipcs. Just copy it and make the file executable, then run it like any other program. It will save a lot of time during debugging.
3/5/02 I will not be holding office hours this Friday (3/8). Not that I expect that to be a problem for anyone.
2/19/02 For anyone who is interested, here are my answers to last year's concurrent algorithm assignments (pdf format): hw3 part 1, hw3 part 2, and hw4. The only mistake I know of is that I forgot to declare the region variables as shared variables, and my names for them were really uninformative. Other than that, if you find any mistakes, or have any questions abount what I did, please let me know.
2/5/02 The JCC's list of Unix machines is current after all, so check there if you need a list.
1/31/02 In case you missed Tekin's e-mail, you are to replace the getlogin() command with the cuserid() command to avoid the seg-fault issue.
1/28/02 I've posted the link of student web pages above. For the (many) of you who do not yet have links to your web pages, you have about a week to e-mail me your URI, or your first assignment will not be graded on time.
1/28/02 If you have tried to run your program from within script, you have no doubt noticed that it seg-faults when you try to print the results of the getlogin() command. This is not your fault, but a problem with the interaction between script and getlogin() (see man pages on getlogin, second paragraph, for full details). An announcement on what to do instead should be forthcoming.
1/22/02 Those of you with old Unix accounts should be able to disregard what I said about gcc and man being broken. The machines have apparently been updated so that no special path to gcc is necessary.
1/16/02 If you are following the instructions for setting up a web page and find that you don't have a "web" folder, just make one (mkdir ~/web) and set the permissions for it as discussed in class and the lecture notes.
1/14/02 Get your Unix accounts NOW! All of your assignments need to be compiled for the lab machines, so an account is essential. Remember to set your home and web directory permissions before starting any assignments.

Recitation Notes

4/17/02 Exam 2 Q&A
4/10/02 POSIX Threads
4/03/02 Berkeley Sockets: implementation
3/27/02 Berkeley Sockets: overview
3/20/02 RPCs
3/6/02 Rand, srand, and midterm Q&A
2/27/02 Review of Concurrent Algorithms
2/20/02 IPCs: Shared Memory
2/13/02 IPCs: Semaphores
2/6/02 Signals and Locks
1/30/02 Questions and Answers
1/23/02 Fork, exec, wait, other useful system calls, and Unix miscellanea
1/16/02 Creating accounts, basic Unix commands and concepts

Other Resources

The following is a list of resources which has been passed down from generation to generation in EECS 338, originating with Andy Reitz. This version is a mirror of the newly updated copy on fellow recitation leader Steven Huwig's webpage.