This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Idle thread trying to sleep
- To: "'eCos discussion'" <ecos-discuss at sources dot redhat dot com>
- Subject: [ECOS] Idle thread trying to sleep
- From: "Trenton D. Adams" <tadams at extremeeng dot com>
- Date: Fri, 6 Jul 2001 09:27:44 -0600
- Organization: Extreme Engineering
This is what I'm doing. I'm trying to delay 300ms inside a function.
This function is called in response to an interrupt. Can I not delay
from within a DSR? How would I delay without using the cyg_thread_delay
() function? How am I supposed to know that I'm delaying the right
amount of time if I can't use cyg_thread_delay ()?
TRACE: <1>[376]CardInitialize() Enable Power
TRACE: <1>[379]CardInitialize() Delay 300 for powerup
ASSERT FAIL: <1>[191]void Cyg_Scheduler_Implementation::rem_thread()
Idle thread trying to sleep!