Benedikt Hegner (CERN) Danilo Piparo (CERN)
Understanding, Debugging and Profiling a Complex Multithreaded Application Writing thread-safe code is a complex problem and difficult to master. This lecture explains basic tools and techniques assisting you in parallel software development. Firstly, we will show basic examples and tools for static code analysis. Then we will have a look at how to understand and debug a multithreaded application with th GNU debugger. Finally, we will tackle performance measurements of applications and how to identify which parts deserve speed improvement or parallelization.