[ECOS] Re: Listing all running threads

Gary Thomas gthomas@ecoscentric.com
Tue Oct 29 06:46:00 GMT 2002


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



More information about the Ecos-discuss mailing list