All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Steve Deiters <SteveDeiters@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Timed waits with POSIX skin using CLOCK_REALTIME
Date: Wed, 14 Jul 2010 00:16:35 +0200	[thread overview]
Message-ID: <4C3CE5C3.30403@domain.hid> (raw)
In-Reply-To: <181804936ABC2349BE503168465576460F48EB21@domain.hid>

Steve Deiters wrote:
> This is probably more of a general POSIX programming question.  Some of
> the timed wait routines in POSIX (pthread_mutex_timedlock, etc) take an
> absolute timeout value in terms of CLOCK_REALTIME.  How then are these
> routines not subject to timing error when the CLOCK_REALTIME is changed,
> e.g. with clock_settime?

I am not sure I understand the question. We tried and implement what is
described for instance here:

http://www.opengroup.org/onlinepubs/009695399/functions/clock_settime.html

-- 
					    Gilles.


  reply	other threads:[~2010-07-13 22:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-13 21:56 [Xenomai-help] Timed waits with POSIX skin using CLOCK_REALTIME Steve Deiters
2010-07-13 22:16 ` Gilles Chanteperdrix [this message]
2010-07-13 22:49   ` Steve Deiters
2010-07-13 23:25     ` Gilles Chanteperdrix

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=4C3CE5C3.30403@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=SteveDeiters@domain.hid \
    --cc=xenomai@xenomai.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.