Title
User level DB: a debugging API for user-level thread libraries
Abstract
With the advent of the multicore era, parallel programming is becoming ubiquitous. Multithreading is a common approach to benefit from these architectures. Hybrid M:N libraries like MultiProcessor Communication (MPC) or MARCEL reach high performance expressing fine-grain parallelism by mapping M user-level threads onto N kernel-level threads. However, such implementations skew the debuggers' ability to distinguish one thread from another, because only kernel threads can be handled. SUN MICROSYSTEMS' THREAD_DB API is an interface between the debugger and the thread library allowing the debugger to inquire for thread semantics details. In this paper we introduce the USER LEVEL DB (ULDB) library, an implementation of the THREAD_DB interface abstracting the common features of user-level thread libraries. ULDB gathers the generic algorithms required to debug threads and provide the thread library with a small and focused interface. We describe the usage of our library with widely-used debuggers (GDB, DBX) and the integration into a user-level thread library (GNUPTH) and two high-performance hybrid libraries (MPC, MARCEL).
Year
DOI
Venue
2010
10.1109/IPDPSW.2010.5470815
Parallel & Distributed Processing, Workshops and Phd Forum
Keywords
Field
DocType
application program interfaces,multi-threading,multiprocessing programs,program debugging,API debugging,M user-level threads,MARCEL,N kernel-level threads,Sun Microsystems Thread_DB API,generic algorithms,hybrid M:N libraries,multiprocessor communication,multithreading,parallel programming,user level DB library,Debugging,GDB,MPC,Multithreading
Win32 Thread Information Block,Multithreading,Programming language,Debugger,Computer science,Thread (computing),Thread safety,Multi-core processor,Fiber (computer science),Operating system,Debugging
Conference
ISBN
Citations 
PageRank 
978-1-4244-6533-0
0
0.34
References 
Authors
4
4
Name
Order
Citations
PageRank
Kevin Pouget100.34
Marc Pérache200.68
Patrick Carribault311.04
Hervé Jourdren400.34