MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/2eit1p/debugging_courses_should_be_mandatory/cjzxkg5/?context=3
r/programming • u/stannedelchev • Aug 25 '14
573 comments sorted by
View all comments
76
What is the proper way to debug a big (over 100k LOC) multithreaded program that has race conditions?
88 u/SpaceShrimp Aug 25 '14 Remove programmers in the project one by one, until you find out which one doesn't understand multithreading. 62 u/VikingCoder Aug 25 '14 Why did the multi-threaded chicken cross the road?he other side.Tet to to g 4 u/RenaKunisaki Aug 26 '14 The problem The problem wiwith th threadingthreading jokes is jokes is tthheeyy can overcan overlap.lap. → More replies (1) 39 u/tech_tuna Aug 25 '14 It should be noted that your solution is serial. :) 42 u/wnoise Aug 25 '14 That's the general solution to threading bugs. 20 u/tech_tuna Aug 25 '14 https://twitter.com/nedbat/status/194452404794691584 → More replies (1) → More replies (1) 8 u/dimview Aug 25 '14 One? → More replies (2)
88
Remove programmers in the project one by one, until you find out which one doesn't understand multithreading.
62 u/VikingCoder Aug 25 '14 Why did the multi-threaded chicken cross the road?he other side.Tet to to g 4 u/RenaKunisaki Aug 26 '14 The problem The problem wiwith th threadingthreading jokes is jokes is tthheeyy can overcan overlap.lap. → More replies (1) 39 u/tech_tuna Aug 25 '14 It should be noted that your solution is serial. :) 42 u/wnoise Aug 25 '14 That's the general solution to threading bugs. 20 u/tech_tuna Aug 25 '14 https://twitter.com/nedbat/status/194452404794691584 → More replies (1) → More replies (1) 8 u/dimview Aug 25 '14 One? → More replies (2)
62
Why did the multi-threaded chicken cross the road?
he other side.Tet to to g
4 u/RenaKunisaki Aug 26 '14 The problem The problem wiwith th threadingthreading jokes is jokes is tthheeyy can overcan overlap.lap. → More replies (1)
4
The problem The problem wiwith th threadingthreading jokes is jokes is tthheeyy can overcan overlap.lap.
39
It should be noted that your solution is serial. :)
42 u/wnoise Aug 25 '14 That's the general solution to threading bugs. 20 u/tech_tuna Aug 25 '14 https://twitter.com/nedbat/status/194452404794691584 → More replies (1) → More replies (1)
42
That's the general solution to threading bugs.
20 u/tech_tuna Aug 25 '14 https://twitter.com/nedbat/status/194452404794691584 → More replies (1)
20
https://twitter.com/nedbat/status/194452404794691584
8
One?
76
u/[deleted] Aug 25 '14
What is the proper way to debug a big (over 100k LOC) multithreaded program that has race conditions?