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, 19 Dec 2019 19:20:53 +0000 (14:20 -0500)
commit4c449d978ae4916445678ca41993d280aa6854ed
tree914a6e61adff4c8d00eb28ee90b8af58b33dd47f
parent708e4b9f189a86d542519b35e36e3f087b36b524
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.02413 seconds and 4 git commands to generate.