Skip to contentSkip to conversation

fix pthread_set_mode_np

PATCH Applied Jan Kiszka 2 participants 2 messages May 25, 2006 – May 26, 2006

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 fix pthread_set_mode_np

Hi Gilles,

obviously, the userspace part of pthread_set_mode_np was forgotten on the last refactoring. This fixes it.

Jan

skins/posix/thread.c +1 -3
Index: src/skins/posix/thread.c
===================================================================
@@ -213,12 +213,10 @@ int pthread_set_mode_np (int clrmask,
 			 int setmask)
 {
     extern int xeno_sigxcpu_no_mlock;
-    pthread_t tid = pthread_self();
     int err;
 
-    err = -XENOMAI_SKINCALL3(__pse51_muxid,
+    err = -XENOMAI_SKINCALL2(__pse51_muxid,
 			     __pse51_thread_set_mode,
-			     tid, /* Do not inline. */
 			     clrmask,
 			     setmask);
 
#1 lore raw
Quoted 4 lines · Jan Kiszka

Hi Gilles,

obviously, the userspace part of pthread_set_mode_np was forgotten on the last refactoring. This fixes it.

Applied, thanks.

Signature · 1 line
					    Gilles Chanteperdrix.