This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]