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: [RFA] rename find_thread_pid to find_thread_ptid


> Anyone mind a global renaming of find_thread_pid to find_thread_ptid?

I don't mind the renaming, but if we're going to rename it, what do
people thing about "find_thread_from_ptid". I always get confused by
the function name because it makes me think that the function returns
the pid/ptid instead of returning the thread from the ptid...

That's just a suggestion and I don't want to start another bikeshed
discussion. The name you suggest is already better than the old name,
so I'm not objecting to your initial suggestion.

-- 
Joel


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