This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: priority for main is always set as 10
- From: Claudio Leonel <cls at xpnet dot com dot br>
- To: Mahesh <mahesh at cranessoftware dot com>
- Cc: ecos <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 30 Sep 2003 09:10:28 +0000
- Subject: Re: [ECOS] priority for main is always set as 10
- References: <1033360083.1052.9.camel@MAHESH>
Mahesh wrote:
Hi,
In my code,I have 14 threads.I have set the priorities from 1 to 14.
There is no main() function in my code.I have used cyg_user_start.
But when I run the code i get a main function thread with priority
being 10. Where does this main come from and how is its priority set to
10.
Waiting for the reply
Thanks and Regards
Mahesh
You can control if main() is invoked or not and its priority
using the eCos configuration tool in:
ISO C Library
ISO environment startup/termination
Startup context for main()
Regards,
Claudio L. Salvadori
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss