This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC 0/6] Demangle minimal symbol names in worker threads


> From: Tom Tromey <tom@tromey.com>
> Date: Sat,  9 Mar 2019 10:22:54 -0700
> 
> I've thought for a while that gdb should take advantage of multiple
> cores in order to speed up its processing.  This series is some
> initial work in that direction.
> 
> In particular, this patch arranges to do the demangling for minimal
> symbols in worker threads.  I chose this because it seemed relatively
> simple to reason about, as the demangler is already mostly thread-safe
> (except, as it turns out, the Ada demangler, which is fixed in this
> series).  It isn't actually a very important thing to speed up, as
> minimal symbol reading is already reasonably speedy; but I thought it
> best to start with something straightforward to facilitate flushing
> out thread safety bugs.

Thanks, but is std::thread portable enough?  E.g., I recall problems
with it in MinGW.

Same question regarding delivering signals to threads.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]