From mboxrd@z Thu Jan 1 00:00:00 1970 From: "syyi04" To: Subject: [ECOS] What I need to run "cyg_thread_delay" on redboot(motorola MBX) Date: Thu, 20 Sep 2001 22:26:00 -0000 Message-id: <001d01c1425e$14d30fa0$841d7da6@hr04pc16> X-SW-Source: 2001-09/msg00551.html 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..