From: Jan Kiszka <jan.kiszka@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: [Xenomai-core] [patch] fix pthread_set_mode_np
Date: Thu, 25 May 2006 20:36:08 +0200 [thread overview]
Message-ID: <4475F918.6040409@domain.hid> (raw)
[-- 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 --]
next reply other threads:[~2006-05-25 18:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-25 18:36 Jan Kiszka [this message]
2006-05-26 16:30 ` [Xenomai-core] Re: [patch] fix pthread_set_mode_np Gilles Chanteperdrix
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=4475F918.6040409@domain.hid \
--to=jan.kiszka@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.