public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
From: "KIMURA Masaru / hiyuh" <hiyuh.root@gmail.com>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] more than 1s precise time
Date: Thu, 12 Oct 2006 12:22:44 +0900	[thread overview]
Message-ID: <8a58bc760610112022o7f90cea8l830988fb8a318a99@mail.gmail.com> (raw)
In-Reply-To: <200610111643.12620.ladmanj@volny.cz>

Hi,

2006/10/11, Jakub Ladman <ladmanj@volny.cz>:
> Hi there.
>
> Please excuse me my OT question.
>
> Please let me know how to get at least 0.1 second precise time. I do not need
> any relation with real time, it may be time from system start or vice versa.
> I need to store time to compare it with newer value in the future to detect
> timeouts.
[SNIP]

I like select(2) for non-realtime timeout functionalities.
See also, "man 2 select" and "man 2 select_tut".
-- 
gentoo-embedded@gentoo.org mailing list



  reply	other threads:[~2006-10-12  3:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-11 14:43 [gentoo-embedded] more than 1s precise time Jakub Ladman
2006-10-12  3:22 ` KIMURA Masaru / hiyuh [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-10-11 18:52 Morgan, Austin D.

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=8a58bc760610112022o7f90cea8l830988fb8a318a99@mail.gmail.com \
    --to=hiyuh.root@gmail.com \
    --cc=gentoo-embedded@lists.gentoo.org \
    /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