All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Daniel Schnell <daniel.schnell@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] pthread_setname_np
Date: Wed, 15 Nov 2006 14:10:04 +0100	[thread overview]
Message-ID: <455B11AC.7000300@domain.hid> (raw)
In-Reply-To: <DD39B5C3F4963040ADC9768BE7E430CB0154EEEB@is-hdq-exchange.marel.net>

Daniel Schnell wrote:
> Hi,
>  
> this function does not change the name inside /proc/xenomai/stat or
> sched for user space Posix threads. As I understand the other function
> pthread_attr_setname_np() is only valid (and available) for Kernel level
> threads.
>  
> Is there any way that works correctly to name a thread to something
> different than simply the executable name ?

I tested pthread_set_name_np with the "switchtest" program on x86 and
ARM, and it works. Could you run switchtest on your platform and see
if the information in /proc/xenomai/sched is correct ?

-- 
                                                 Gilles Chanteperdrix


  reply	other threads:[~2006-11-15 13:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-15 11:27 [Xenomai-help] pthread_setname_np Daniel Schnell
2006-11-15 13:10 ` Gilles Chanteperdrix [this message]
2006-11-15 13:31   ` Daniel Schnell
2006-11-15 13:43     ` Gilles Chanteperdrix
2006-11-15 14:26       ` Daniel Schnell
2006-11-15 14:52         ` Gilles Chanteperdrix
2006-11-15 15:49           ` Daniel Schnell
2006-11-15 16:08             ` Gilles Chanteperdrix
2006-11-15 16:56               ` [Xenomai-help] [PATCH] pthread_setname_np Daniel Schnell
2006-11-15 17:50                 ` Philippe Gerum
2006-11-15 17:02               ` [Xenomai-help] pthread_setname_np Daniel Schnell
2006-11-15 17:55                 ` 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=455B11AC.7000300@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=daniel.schnell@domain.hid \
    --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.