This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: main vs thread


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]