* [Xenomai-core] [patch] fix pthread_set_mode_np
@ 2006-05-25 18:36 Jan Kiszka
2006-05-26 16:30 ` [Xenomai-core] " Gilles Chanteperdrix
0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2006-05-25 18:36 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: xenomai-core
[-- Attachment #1.1: Type: text/plain, Size: 130 bytes --]
Hi Gilles,
obviously, the userspace part of pthread_set_mode_np was forgotten on
the last refactoring. This fixes it.
Jan
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: pthread_set_mode.patch --]
[-- Type: text/x-patch; name="pthread_set_mode.patch", Size: 578 bytes --]
Index: src/skins/posix/thread.c
===================================================================
--- src/skins/posix/thread.c (Revision 1136)
+++ src/skins/posix/thread.c (Arbeitskopie)
@@ -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);
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Xenomai-core] Re: [patch] fix pthread_set_mode_np
2006-05-25 18:36 [Xenomai-core] [patch] fix pthread_set_mode_np Jan Kiszka
@ 2006-05-26 16:30 ` Gilles Chanteperdrix
0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2006-05-26 16:30 UTC (permalink / raw)
To: Jan Kiszka; +Cc: xenomai-core
Jan Kiszka wrote:
> Hi Gilles,
>
> obviously, the userspace part of pthread_set_mode_np was forgotten on
> the last refactoring. This fixes it.
Applied, thanks.
--
Gilles Chanteperdrix.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-05-26 16:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-25 18:36 [Xenomai-core] [patch] fix pthread_set_mode_np Jan Kiszka
2006-05-26 16:30 ` [Xenomai-core] " Gilles Chanteperdrix
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.