This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
What I need to run "cyg_thread_delay" on redboot(motorola MBX)
- To: <ecos-discuss at sources dot redhat dot com>
- Subject: [ECOS] What I need to run "cyg_thread_delay" on redboot(motorola MBX)
- From: "syyi04" <syyi04 at kg21 dot net>
- Date: Fri, 21 Sep 2001 14:27:13 +0900
Hello, everyone.
Q : How can I run "cyg_thread_delay" on redboot? (Motorola MBX)
The following is what I've done to enable it on redboot.
It works fine in the ECOS(ram version) but not on redboot(rom version).
I add some packages to use the ECOS kernel on redboot.
- eCos kernel
- Dynamic memory allocation
- ISO C and POSIX infrastructure, etc.....
After cyg_scheduler_start, context switching works between threads
which created by cyg_thread_create(...).
But stuck in the cyg_thread_delay() function. It never ends.
What should I initialize to use
the clock and alarm related functions such as cyg_thread_delay()??
I'm really wit's end.
Thanks in advance.... Good luck..