From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <455B11AC.7000300@domain.hid> Date: Wed, 15 Nov 2006 14:10:04 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 Subject: Re: [Xenomai-help] pthread_setname_np References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Daniel Schnell Cc: xenomai@xenomai.org 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