This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH RFA/RFC] Don't use lwp_from_thread() in thread_db_wait()
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: David Taylor <taylor at candd dot org>
- Cc: Kevin Buettner <kevinb at redhat dot com>, gdb-patches at sources dot redhat dot com
- Date: Wed, 13 Mar 2002 12:46:32 -0500
- Subject: Re: [PATCH RFA/RFC] Don't use lwp_from_thread() in thread_db_wait()
- References: <20020312112331.A24963@nevyn.them.org> <200203131737.MAA11028@houston.candd.org>
On Wed, Mar 13, 2002 at 12:37:08PM -0500, David Taylor wrote:
> > Date: Tue, 12 Mar 2002 11:23:31 -0500
> > From: Daniel Jacobowitz <drow@mvista.com>
>
> > Yes, that could probably be arranged. Someday we should talk to a
> > vendor of an M:N threads package and see what we have to work with. I
> > don't know of any offhand besides NGPT.
>
> If I understand you correctly, then: Solaris.
Is it really?
To clarify, LinuxThreads has one thread per process; IBM's NGPT has
multiple threads per process, but still multiple processes. I was
under the impression that Solaris LWPs would have all threads in one
process.
(except of course the terminology gets fuzzy here. One "process" in
Solaris includes multiple LWPs which can be executing at the same time.
If my understanding above is correct it might be more appropriate to
call Solaris one-thread-per-LWP).
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer