public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: Ulrich Drepper <drepper@redhat.com>
Cc: jim.houston@attbi.com, linux-kernel@vger.kernel.org,
	jim.houston@ccur.com
Subject: Re: signal queue resource - Posix timers
Date: Wed, 28 May 2003 19:16:54 -0700	[thread overview]
Message-ID: <20030529021654.GG19818@holomorphy.com> (raw)
In-Reply-To: <3ED531AD.1020309@redhat.com>

On Wed, May 28, 2003 at 03:01:17PM -0700, Ulrich Drepper wrote:
> That's not really how you can interpret this.  At the time timer_create
> is it is not know when the timer expires and whether it's a repeating
> timer.  Therefore it is not correct to assume that if timer_create
> succeeds the resources to always deliver the signal are available.
> The shall-error in the standard just covers the case if there is really
> no way this can be made working.  For instance, some implementation
> might allocate to each process using timer_create N signal slots.  The
> whole system could have only N * M slots.
> Because there is no fixed limit (or better said: no guaranteed minimal
> number of signal slots) in Linux this error doesn't apply at all.

The inability to prevent events from coming in faster than one can
process them does create an escape hatch so one doesn't have to handle
this case because it doesn't specify that minimum. Perhaps the
criterion for merging should be if some application is negatively
affected?

But I'm not convinced this would harm anything if merged beforehand.
It's also nice to exert explicit control over competition for memory.


-- wli

  parent reply	other threads:[~2003-05-29  2:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-28 18:56 signal queue resource - Posix timers Jim Houston
2003-05-28 22:01 ` Ulrich Drepper
2003-05-28 23:14   ` Jim Houston
2003-05-29  2:16   ` William Lee Irwin III [this message]
2003-05-29  1:46 ` William Lee Irwin III
2003-05-29  5:26   ` Ed L Cashin
2003-05-29 16:07     ` Timothy Miller

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=20030529021654.GG19818@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=drepper@redhat.com \
    --cc=jim.houston@attbi.com \
    --cc=jim.houston@ccur.com \
    --cc=linux-kernel@vger.kernel.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