Deadlock (1) Dave Eckhardt Brian Railing Dave

Deadlock (1) Dave Eckhardt Brian Railing Dave
1 / 1
Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 1 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 2 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 3 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 4 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 5 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 6 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 7 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 8 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 9 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 10 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 11 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 12 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 13 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 14 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 15 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 16 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 17 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 18 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 19 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 20 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 21 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 22 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 23 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 24 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 25 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 26 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 27 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 28 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 29 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 30 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 31 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 32 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 33 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 34 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 35 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 36 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 37 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 38 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 39 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 40 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 41 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 42 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 43 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 44 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 45 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 46 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 47 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 48 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 49 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 50 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 51 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 52 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 53 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 54 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 55 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 56 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 57 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 58 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 59 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 60 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 61 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 62 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 63 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 64 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 65 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 66 of 67 Deadlock (1) Dave Eckhardt Brian Railing Dave - slide 67 of 67
Deadlock (1) Dave Eckhardt Brian Railing Dave OHallaron Roger Dannenberg Bruce Maggs Geoff Langdale L11Deadlock Debugging Reminder We cant really help with queries like: We did x... then something strange happened... ...can you tell us

Related Topics

Download this presentation From Below

"Deadlock (1) Dave Eckhardt Brian Railing Dave" is the property of its rightful owner. Permission is granted to download and print the materials on this website for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.

Presentation Transcript

01
Deadlock (1) Dave Eckhardt
Brian Railing

Dave O'Hallaron
Roger Dannenberg
Bruce Maggs
Geoff Langdale L11_Deadlock<br>
02
Debugging Reminder We can't really help with queries like:
We did x... then something strange happened...
...can you tell us why?
You need to progress beyond “something happened”
What happened, exactly?
printf() is not always the right tool
output correct only if run-time environment is right
captures only what you told it to, only “C-level” stuff
changes your code by its mere presence!!!
We're serious about examining register dumps!
Overall, maybe re-read “Debugging” lecture notes<br>
03
Synchronization – P2 You should really have, by Today:
Drawn pictures of thread stacks (even if not perfect)
Figured out where stubs belong, why
Made some system calls
Designed mutexes & condition variables
Wednesday:
Coded mutexes and condition variables
Thoughtful design for thr_create(), maybe thr_join()
Some code for thr_create(), and some “experience”
The startle test running<br>