[PATCH 4/6] [Linux] Optimize PID -> struct lwp_info lookup

Yao Qi qiyaoltc@gmail.com
Mon May 23 13:12:00 GMT 2016


Pedro Alves <palves@redhat.com> writes:

> Fix this by keeping a list of LWPs sorted by PID, so we can use binary
> searches for lookup.

Is it better to use htab?

-- 
Yao (齐尧)



More information about the Gdb-patches mailing list