Re: gcore and nptl threads on linux

Andrew Cagney
2003-04-15T21:43:09Z

> Daniel Jacobowitz wrote:
> On Thu, Mar 06, 2003 at 03:17:33PM -0500, Andrew Cagney wrote:
>
> You mean add them to the `struct thread_info' list? Why not (ignoring technical realities for the moment :-)?
>
>
> How about a second list made up of thread_info structs for lwps? That way, the current
> thread routines wouldn't have to constantly validate whether the list item was
> a thread or lwp. This also would simplify the numbering system. There
> could be equivalent lwp routines for accessing the list (e.g. iterate_over_lwps() ).
>
> Something like that. Is a new term needed though?
>
> Have the thread and lwp code each have their own instance of a `struct tpid_info' list (struct context_info list)?
>
>
> Hmm, I'm not sure. Let's take a little while to think about a better
> name?
>
>
> How about uow_info with uow standing for "unit of work"?

This came up once before:

http://sources.redhat.com/ml/gdb/2001-03/msg00126.html

shall baring major protest go with `struct ptid_info'?

Andrew