This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: main vs thread
- From: "Gary Thomas" <gary at mlbassoc dot com>
- To: "Alexandre April" <alexandre dot april at simplernetworks dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Tue, 6 Apr 2004 01:58:26 -0600 (MDT)
- Subject: Re: [ECOS] main vs thread
- References: <802BF4D25D712242A4D05E23CEA4EEEE15977D@spns.simpler-networks.com>
Alexandre April said:
> Hi,
>
>
>
> I was developing a server on a ADDER II board that was
> replying to a command with that same command suing a thread and the
> performance was really slow. So I tried to place the code into my main
> routine and the performance really increased (54ms to 4ms).
>
How are you measuring this?
Maybe you could share a little more of your code (right now, much would
be speculation only), or a test case that shows this behaviour?
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss