This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Listing all running threads
- From: Gary Thomas <gthomas at ecoscentric dot com>
- To: Tom Davis <tdavis at telesyn dot com>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 29 Oct 2002 07:46:06 -0700
- Subject: [ECOS] Re: Listing all running threads
- References: <000601c27f59$9382b970$3e0810ac@telesyn.corp>
On Tue, 2002-10-29 at 07:43, Tom Davis wrote:
>
> Hi,
>
> I need to create a utility that lists all the running threads on a card
> much like the VxWorks "I" command. I have searched a great deal and
> cannot seem to find a means to get a list of all the threads.
>
> Any ideas?
The GDB "info threads" command will give you this.
You could investigate how it works (look in hal/common/)
--
------------------------------------------------------------
Gary Thomas |
eCosCentric, Ltd. |
+1 (970) 229-1963 | eCos & RedBoot experts
gthomas@ecoscentric.com |
http://www.ecoscentric.com/ |
------------------------------------------------------------
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss