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]

Idle thread trying to sleep


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!


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