All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Grandegger <wg@domain.hid>
To: xenomai-core <xenomai@xenomai.org>,
	Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Subject: [Xenomai-core] [PATCH] add missing __real_pthread_kill
Date: Wed, 12 Dec 2007 11:58:53 +0100	[thread overview]
Message-ID: <475FBEED.6070900@domain.hid> (raw)

[-- Attachment #1: Type: text/plain, Size: 121 bytes --]

Hi Gilles,

the attached patch adds the missing function __real_pthread_kill to
src/skins/posix/wrappers.c.

Wolfgang.



[-- Attachment #2: xeno-real-pthread-kill.patch --]
[-- Type: text/x-patch, Size: 496 bytes --]

+ diff -u xenomai-2.3.2/src/skins/posix/wrappers.c.ORIG xenomai-2.3.2/src/skins/posix/wrappers.c
--- xenomai-2.3.2/src/skins/posix/wrappers.c.ORIG	2006-12-26 19:39:00.000000000 +0100
+++ xenomai-2.3.2/src/skins/posix/wrappers.c	2007-12-12 11:41:54.000000000 +0100
@@ -44,6 +44,11 @@
 	return pthread_getschedparam(thread, policy, param);
 }
 
+int __real_pthread_kill(pthread_t thread, int sig)
+{
+	return pthread_kill(thread, sig);
+}
+
 int __real_sched_yield(void)
 {
 	return sched_yield();

             reply	other threads:[~2007-12-12 10:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-12 10:58 Wolfgang Grandegger [this message]
2007-12-12 10:59 ` [Xenomai-core] [PATCH] add missing __real_pthread_kill Gilles Chanteperdrix
2007-12-12 11:09   ` Wolfgang Grandegger

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=475FBEED.6070900@domain.hid \
    --to=wg@domain.hid \
    --cc=gilles.chanteperdrix@xenomai.org \
    --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.