General Information
My Information
Name: | Jonathan Misurda |
Office: | 6213 Sennott Square |
Phone: | (412) 624-8835 |
Email: | jmisurda@cs.pitt.edu |
Office Hours: | MW: 1:00-3:00 Tu: 2:15-3:30 Th: 12:00-1:00 |
Syllabus
MW Section | TH Section |
Announcements
(04/16/08) — I will be mostly unavailable Friday and Saturday, so if you have any questions please email the TAs.
To help you get today's time for the server and format it to a string take a look at
strftime
defined in the header file<time.h>
. The example on the page shows how to string together the necessary calls to get the time. Remember that you want to return the time in GMT so don't use thelocaltime
function use thegmtime
function instead.(04/13/08) — I have found an error in the network example at the end of Chapter 10 in my book (Listing 10.1). The variable
amt
is not used to skip the already transmitted data. I have posted the updated listing, and the new version of the book will contain the correction.(04/07/08) — Project 5 is assigned, due Sunday, April 20, 2008 before midnight. The assignment sheet can be found below.
(03/27/08) — Office hours Monday, March 31st will end at 2:30pm. I will be available a bit before class if you need to meet, send me an email to arrange something.
The call to
kmalloc
takesGFP_KERNEL
as its second parameter.(03/24/08) — Project 4 is assigned, due Sunday, April 6, 2008 before midnight. The assignment sheet can be found below.
(03/18/08) — The test driver for your project is up. You can copy it to your current directory by:
cp /u/SysLab/shared/mallocdrv.c .
(02/27/08) — Project 3 is assigned, due Sunday, March 23, 2008 before midnight. The assignment sheet can be found below.
(02/21/08) — In the /u/SysLab/shared directory is a file named extra_1. This is an executable that is somewhat less difficult than your third, but more than your second. It may serve as better practice. NOTE: It is NOT for credit. As such, I am willing to answer more specific questions about it. You are under no obligation to even look at it if you don't want to.
(02/11/08) — Project 2 is assigned, due Sunday, February 24, 2008 before midnight. The assignment sheet can be found below.
(02/04/07) — The sample midterm is now up. Try it yourself before you look at the answers to the sample midterm. The answers are in red font.
(01/29/07) — A reminder that on Wed and Thurs there will be a short quiz at the beginning of class.
For the project, when setting the track number, you will need to convert it from a string to an integer. You can use the atoi function to do this for you.
(01/22/07) — I am providing two OGG files (a form of music file) called with.ogg (that has a tag) and none.ogg (that has no tag) to test your project on. You can copy them to your directory by:
cp ~jrmst106/public/cs449/*.ogg .
(01/17/08) — Project 1 is assigned, due Sunday, February 3, 2008 before midnight. The assignment sheet can be found below.
For the Tues-Thurs class, class will be cancelled Tuesday, January 22, 2008. This will keep both classes in synch because of MLK.
(01/14/08) — Office hours are posted. Mine are above. For the TAs:
Mohammed | Asim |
MW: 3:00-4:00 Tu: 3:30-5:30 Th: 2:30-4:00 |
Th: 2:00-3:00 F: 3:00-5:00 |
The first edition of the book is now finalized. This will be the official content and any errata will be publised separately for the term. It is now safe to print out if you have not already.
(1/07/08) — Welcome to CS 449 Spring Term (2084)
Text, Slides, and Extra Materials
Topic | Slides | Links |
Binary Formats and Linking | Slides (PDF) | 20 part blog entry on linking As a PDF |
x86 Assembly | Slides (PDF) | AT&T Syntax |
Function Calls and Calling Convention | Slides Part 1 (PDF) Slides Part 2 (PDF) |
CS 447 Appendix A |
Processes and Memory Management | Slides (PDF) | |
Conditional Compilation Makefiles and Multi-file Development |
Slides (PDF) | Chapter 18 in the C Textbook Chapter 10 in the C Textbook |
Midterm 2
Topic | Slides | Links |
System Calls & Signals | Slides (PDF) | Signals |
Device Drivers under Linux | Slides (PDF) | LLD Chapter 1 (PDF) LLD Chapter 2 (PDF) |
Threads | Slides (PDF) | |
pthreads | Slides (PDF) | More on pthreads ALP chapter on pthreads (PDF) |
Synchronization | Slides (PDF) | Handout (PDF) |
Networks and Berkeley Sockets | Slides (PDF) | Sockets |
Buffers, Errors and Robust Programming | Buffering Slides (PDF) Errors Slides (PDF) |
Ten Commandments for C Programmers |
Final Exam (review slides PDF)
Projects
- Project 5: Multi-Threaded Web Server
-
Project 4:
/dev/pi
- Project 3: A custom malloc()
- Project 2: What's the password?
- Project 1: RPS & ID3 Tag Editor
Links
Reference Miscellaneous-
Download putty: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
-
Windows text editor with syntax highlighting: http://www.editplus.com
-
Unix Command Reference (from CSSD): Here