public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] priority for main is always set as 10
@ 2003-09-30  4:50 Mahesh
  2003-09-30  6:01 ` Mahesh
  2003-09-30 12:10 ` Claudio Leonel
  0 siblings, 2 replies; 3+ messages in thread
From: Mahesh @ 2003-09-30  4:50 UTC (permalink / raw)
  To: ecos

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
 


_______________________________________________
This email with any attachments is for the exclusive use of the intended
recipient/s & may contain confidential & legally privileged information.
If you are not the intended recipient pls notify the sender immediately
& delete the email from your system. Any unauthorised use, disclosure,
printing, dissemination, forwarding or copying of this mail is strictly
prohibited and unlawful.
Visit us at : http://www.cranessoftware.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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ECOS] priority for main is always set as 10
  2003-09-30  4:50 [ECOS] priority for main is always set as 10 Mahesh
@ 2003-09-30  6:01 ` Mahesh
  2003-09-30 12:10 ` Claudio Leonel
  1 sibling, 0 replies; 3+ messages in thread
From: Mahesh @ 2003-09-30  6:01 UTC (permalink / raw)
  To: ecos

 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
  


_______________________________________________
This email with any attachments is for the exclusive use of the intended
recipient/s & may contain confidential & legally privileged information.
If you are not the intended recipient pls notify the sender immediately
& delete the email from your system. Any unauthorised use, disclosure,
printing, dissemination, forwarding or copying of this mail is strictly
prohibited and unlawful.
Visit us at : http://www.cranessoftware.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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] priority for main is always set as 10
  2003-09-30  4:50 [ECOS] priority for main is always set as 10 Mahesh
  2003-09-30  6:01 ` Mahesh
@ 2003-09-30 12:10 ` Claudio Leonel
  1 sibling, 0 replies; 3+ messages in thread
From: Claudio Leonel @ 2003-09-30 12:10 UTC (permalink / raw)
  To: Mahesh; +Cc: ecos

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-09-30 12:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-30  4:50 [ECOS] priority for main is always set as 10 Mahesh
2003-09-30  6:01 ` Mahesh
2003-09-30 12:10 ` Claudio Leonel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).