This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
isr for cyg_thread_delay
- From: Satish Kumar <satish at bvt dot sc dot sanyo dot co dot jp>
- To: ecos-discuss at sources dot redhat dot com
- Date: Wed, 17 Sep 2003 11:23:16 +0900
- Subject: [ECOS] isr for cyg_thread_delay
Hi,
when a cyg_thread_delay(x) function is called in the twothreads.c
program, therez no RTC interrupt generated and hence no ISR routine is
called..due to this the program hangs after displaying..
Entering twothreads’ cyg_user_start()
Beginning execution; thread data is 0
Beginning execution; thread data is 1
but my real time clock gets activated when system initialization is done,
and it also generates RTC interrupt, but not the case when the
cyg_thread_delay(x) func is called.
where is the problem..?
is it some thing to do with the RTC time period value..initialized to
the CYGNUM_HAL_RTC_PERIOD..?
thanks
satish
--
Satish Kumar <satish@bvt.sc.sanyo.co.jp>
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss