From: Stephen Rothwell <sfr@canb.auug.org.au>
To: george anzinger <george@mvista.com>
Cc: torvalds@transmeta.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH ] POSIX clocks & timers take 3 (NOT HIGH RES)
Date: Mon, 21 Oct 2002 01:50:50 +1000 [thread overview]
Message-ID: <20021021015050.21dbd4d9.sfr@canb.auug.org.au> (raw)
In-Reply-To: <3DAF4362.EE87F7F1@mvista.com>
Hi George,
On Thu, 17 Oct 2002 16:10:26 -0700 george anzinger <george@mvista.com> wrote:
>
> +++ linux/include/asm-generic/siginfo.h Thu Oct 17 15:33:39 2002
> @@ -43,8 +43,9 @@
>
> /* POSIX.1b timers */
> struct {
> - unsigned int _timer1;
> - unsigned int _timer2;
> + timer_t _tid; /* timer id */
> + int _overrun; /* overrun count */
> + sigval_t _sigval; /* same as below */
> } _timer;
This, of course, will only work on architectures where (sizeof(timer_t) +
sizeof(int) + alignment padding for sigval_t) is the same as
(sizeof(pid_t) + sizeof(uid_t) + alignment padding for sigval_t). Which is
true as far as I can see, but is fragile. It might be worth a comment.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
next prev parent reply other threads:[~2002-10-20 15:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-17 23:10 george anzinger
2002-10-20 15:50 ` Stephen Rothwell [this message]
2002-10-20 20:14 ` george anzinger
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=20021021015050.21dbd4d9.sfr@canb.auug.org.au \
--to=sfr@canb.auug.org.au \
--cc=george@mvista.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.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
all inboxes | Powered by JetHome®