public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] cyg_current_time () locking up
@ 2001-08-10  8:39 Trenton D. Adams
  2001-08-10  8:47 ` Trenton D. Adams
  0 siblings, 1 reply; 8+ messages in thread
From: Trenton D. Adams @ 2001-08-10  8:39 UTC (permalink / raw)
  To: 'eCos Disuss'

This is very odd.  I have a program that was working fine yesterday.
Now it locks up when I call cyg_current_time ().  Below is the code that
locks up.  It locks up right on cyg_current_time ().  Any particular
reason why this could happen?  problem in the system code maybe?

        ticks = cyg_current_time ();
        cyg_mutex_lock (&threadData->mutexA1);
        newDataLen = GenerateWave (threadData->channelABuffer1, 
             &lastValue);
        threadData->channelABufLen1 = newDataLen;
        cyg_cond_signal (&threadData->condA1);
        cyg_mutex_unlock (&threadData->mutexA1);

Trenton D. Adams
Extreme Engineering
#17, 6025 - 12 St. SE
Calgary, Alberta, Canada
T2H 2K1

Phone: 403 640 9494 ext-208
Fax: 403 640 9599

http://www.extremeeng.com

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

end of thread, other threads:[~2001-08-10  9:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-10  8:39 [ECOS] cyg_current_time () locking up Trenton D. Adams
2001-08-10  8:47 ` Trenton D. Adams
2001-08-10  8:50   ` Andrew Lunn
2001-08-10  8:55     ` Trenton D. Adams
2001-08-10  9:01       ` Andrew Lunn
2001-08-10  9:17     ` Grant Edwards
2001-08-10  9:35       ` Hugo Tyson
2001-08-10  9:51         ` Grant Edwards

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).