This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
About real time clock problem
- To: "ecos-discuss" <ecos-discuss at sources dot redhat dot com>
- Subject: [ECOS] About real time clock problem
- From: "John" <john at imining dot com dot tw>
- Date: Fri, 9 Mar 2001 17:39:54 +0800
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