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]

About real time clock problem


Sorry I don't see the previous post in the digest, so I post it again.

I use default template to build an i386 pc target application.
When I call cyg_thread_delay(2), the thead sleep forever.
The scheduler timeslicing also dose not work.
I find that the real time clock resolution is 1000000000/100.
No matter what real time clock resolution I change (even 1/1), the problem is still the same.
And the cyg_current_time() always return 0.
Why?
Thanks in advance.

----
謝豪哲
John Hsieh
發現者國際股份有限公司
iMining Technology Co., Ltd.
john@imining.com.tw
TEL: 886-2-27235122
FAX: 886-2-27232287
www.imining.com.tw

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