Make find_thread_ptid lookup thread map instead of iterate
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 3 Dec 2019 20:19:35 +0000 (15:19 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 16 Jan 2020 22:03:58 +0000 (17:03 -0500)
commit2301204a3b3cd6553f7490498b3adc5973157c1b
treed30b403e14ddadf8321c6998b2e7acd47300c216
parentcd9629e1df1a280c19e1daaf6c1195afbab0aca9
Make find_thread_ptid lookup thread map instead of iterate

Now that inferior threads are stored in a map, change the
find_thread_ptid function to look up a thread using std::map::find,
instead of iterating on all of the inferior's threads.
gdb/thread.c
This page took 0.023943 seconds and 4 git commands to generate.