Skip to contentSkip to conversation

add missing __real_pthread_kill

PATCH In review Wolfgang Grandegger 2 participants 3 messages Dec 12, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add missing __real_pthread_kill

Hi Gilles,

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

Wolfgang.

+ diff -u xenomai-2.3.2/src/skins/posix/wrappers.c.ORIG xenomai-2.3.2/src/skins/posix/wrappers.c

src/skins/posix/wrappers.c renamed from src/skins/posix/wrappers.c.ORIG +5 -0
@@ -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();
#1 lore raw
Quoted 4 lines · Wolfgang Grandegger

Hi Gilles,

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

This should already been in the trunk. Not yet in v2.4.x though.

Signature · 1 line
                                               Gilles Chanteperdrix
#2 lore raw
Quoted 7 lines · Gilles Chanteperdrix
Quoted 4 lines · Wolfgang Grandegger

Hi Gilles,

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

This should already been in the trunk. Not yet in v2.4.x though.

  $ svn update
  U    src/skins/posix/wrappers.c
  Updated to revision 3273.

I missed that, sorry for the noise.

Wolfgang.