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: Threads never called in twothreads example


I might be seeing the same thing.  I see simple_program() get called (for
threadA i guess), which calls cyg_thread_delay(200), then simple_program()
is called again (for threadB i guess) which calls cyg_thread_delay(200), but
neither of them ever get to the for (;;) loop. I see main() get invoked,
which i guess is just some stub since exit() is called. It looks like the
scheduer does something after that, which ultimately ends up at the
idle_thread_main() which is a infinite loop.

----- Original Message -----
From: "Robert Oglesby" <bob@hosteng.com>
To: <ecos-discuss@sources.redhat.com>
Sent: Friday, February 08, 2002 12:57 PM
Subject: [ECOS] Threads never called in twothreads example


> I've successfully built RedBoot for an ARM7TDMI, got it running,
> successfully built an Ecos kernal lib, built twothreads, and got it
> running - however - although cyg_user_start runs just fine, the threads
> never wake up. Sounds curiously like the scheduler isn't waking up.
>
> Anyone have a clue on this?
>
> Thanks!
> Bob Oglesby
> Host Engineering, Inc.
>
>
>


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