From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Trenton D. Adams" To: "'eCos discussion'" Subject: [ECOS] Idle thread trying to sleep Date: Fri, 06 Jul 2001 08:28:00 -0000 Message-id: <000f01c10630$34cfe040$090110ac@TRENT> X-SW-Source: 2001-07/msg00194.html 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!