From: "Hannu E K Nevalainen \(garbage mail\)" <garbage_collector@telia.com>
To: <cygwin@cygwin.com>
Subject: RE: pthread_cond_timedwait accurate to one second only
Date: Mon, 25 Aug 2003 18:52:00 -0000 [thread overview]
Message-ID: <NGBBLLIAMFLGJEOAJCCECEDJDDAA.garbage_collector@telia.com> (raw)
In-Reply-To: <20030825074253.3769.qmail@linuxmail.org>
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
> Of peter garrone
> I would like to use this function down to 10 milliseconds
> accuracy if possible.
> However upon looking at winsup/cygwin/thread.cc,
> it uses the function "ftime" and the millisecond field is ignored.
>
> All the examples in the winsup testsuite also generally check to
> 5 seconds only.
>
> Is there any inherent reason why finer timing would not work?
In general; You're asking for RTOS granularity from a desktop OS.
Desktop OS'es in general allows that accuracy only in theoretical terms.
This might very well be the sole reason.
Expect even less accuracy from Cygwin; because it is a partly emulated
environment. NOTE: not saying to which degree here... I simply do not know.
/Hannu E K Nevalainen, B.Sc. EE Microcomputer systems - 59°16.37'N,
17°12.60'E
--END OF MESSAGE--
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
next prev parent reply other threads:[~2003-08-25 18:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-25 10:01 peter garrone
2003-08-25 18:52 ` Hannu E K Nevalainen (garbage mail) [this message]
2003-08-25 15:51 Timothy C Prince
2003-08-26 11:06 Thomas Pfaff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=NGBBLLIAMFLGJEOAJCCECEDJDDAA.garbage_collector@telia.com \
--to=garbage_collector@telia.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).