This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
cyg_current_time () locking up
- To: "'eCos Disuss'" <ecos-discuss at sourceware dot cygnus dot com>
- Subject: [ECOS] cyg_current_time () locking up
- From: "Trenton D. Adams" <tadams at extremeeng dot com>
- Date: Fri, 10 Aug 2001 09:39:32 -0600
- Organization: Extreme Engineering
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