public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Idle thread trying to sleep
@ 2001-07-06  8:28 Trenton D. Adams
  2001-07-06  8:37 ` Hugo Tyson
  2001-07-06  8:41 ` Gary Thomas
  0 siblings, 2 replies; 6+ messages in thread
From: Trenton D. Adams @ 2001-07-06  8:28 UTC (permalink / raw)
  To: 'eCos discussion'

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!

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-07-06 11:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-06  8:28 [ECOS] Idle thread trying to sleep Trenton D. Adams
2001-07-06  8:37 ` Hugo Tyson
2001-07-06 11:10   ` Fabrice Gautier
2001-07-06 11:16     ` Hugo Tyson
2001-07-06  8:41 ` Gary Thomas
2001-07-06  8:55   ` Trenton D. Adams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).