All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: rpm@xenomai.org
Cc: Jan Kiszka <jan.kiszka@domain.hid>,
	Xenomai core <Xenomai-core@domain.hid>
Subject: Re: [Xenomai-core] [PATCH 1/1] Use SIGWINCH to trigger priority	change in user-space.
Date: Mon, 20 Oct 2008 10:25:02 +0200	[thread overview]
Message-ID: <48FC405E.8010603@domain.hid> (raw)
In-Reply-To: <48FB5F1C.401@domain.hid>

Gilles Chanteperdrix wrote:
> Philippe Gerum wrote:
>> Well, what about merging the solutions: trap the signal from the library
>> constructor by default for people relying on #1, AND document the shadow signal
>> handler for people who can do #2?
> 
> For me, merging the two, would mean keep sigshadow_install called upon
> thread creation, but export xeno_sigwinch_handler to be callable from
> user signals.
> 
> This way, if people install their signal handler before the first thread
> creation, they have nothing to worry about. If they install their signal
> handler at a later time, they have to take care of calling
> xeno_sigwinch_handler and look at its return value.

Jan, do you agree? The main argument is that people may use third-party
libraries such as, say, libreadline or libqt which intercept the
SIGWINCH signal, and that we do not want to recompile these libraries to
run with Xenomai.

-- 
                                                 Gilles.


  parent reply	other threads:[~2008-10-20  8:25 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-18 14:22 [Xenomai-core] [PATCH 1/1] Use SIGWINCH to trigger priority change in user-space Gilles Chanteperdrix
2008-10-18 14:35 ` Gilles Chanteperdrix
2008-10-18 17:09   ` Philippe Gerum
2008-10-19 15:21   ` Gilles Chanteperdrix
2008-10-19 11:10 ` Jan Kiszka
2008-10-19 11:19   ` Gilles Chanteperdrix
2008-10-19 11:22     ` Jan Kiszka
2008-10-19 11:28       ` Gilles Chanteperdrix
2008-10-19 16:09         ` Philippe Gerum
2008-10-19 16:14           ` Philippe Gerum
2008-10-19 16:16             ` Gilles Chanteperdrix
2008-10-19 16:23           ` Gilles Chanteperdrix
2008-10-19 16:37             ` Philippe Gerum
2008-10-20  8:25             ` Gilles Chanteperdrix [this message]
2008-10-20  8:40               ` Jan Kiszka
2008-10-20 18:57                 ` Gilles Chanteperdrix
2008-10-20 19:00                   ` Jan Kiszka

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=48FC405E.8010603@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=Xenomai-core@domain.hid \
    --cc=jan.kiszka@domain.hid \
    --cc=rpm@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.