All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] [POSIX] [Question] Assigning task name before its creation
@ 2013-01-15  9:58 alex alex
  2013-01-15 12:15 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 3+ messages in thread
From: alex alex @ 2013-01-15  9:58 UTC (permalink / raw)
  To: Xenomai

Hi all,

My application run in the user-space and I use pthread_set_name_np() to
assign task name after having created my task.
However, I'd like my task name be assigned at the time of its creation I
read that it's possible in kernel space with
pthread_attr_setname_np<http://www.xenomai.org/documentation/trunk/html/api/group__posix__threadattr.html#ga4d48205cba54fed0c96dfc0d184b9f88>but
is it possible in user-space?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai] [POSIX] [Question] Assigning task name before its creation
  2013-01-15  9:58 [Xenomai] [POSIX] [Question] Assigning task name before its creation alex alex
@ 2013-01-15 12:15 ` Gilles Chanteperdrix
  2013-01-15 12:34   ` alex alex
  0 siblings, 1 reply; 3+ messages in thread
From: Gilles Chanteperdrix @ 2013-01-15 12:15 UTC (permalink / raw)
  To: alex alex; +Cc: Xenomai

On 01/15/2013 10:58 AM, alex alex wrote:

> Hi all,
> 
> My application run in the user-space and I use pthread_set_name_np() to
> assign task name after having created my task.
> However, I'd like my task name be assigned at the time of its creation I
> read that it's possible in kernel space with
> pthread_attr_setname_np<http://www.xenomai.org/documentation/trunk/html/api/group__posix__threadattr.html#ga4d48205cba54fed0c96dfc0d184b9f88>but
> is it possible in user-space?


No.

-- 
                                                                Gilles.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai] [POSIX] [Question] Assigning task name before its creation
  2013-01-15 12:15 ` Gilles Chanteperdrix
@ 2013-01-15 12:34   ` alex alex
  0 siblings, 0 replies; 3+ messages in thread
From: alex alex @ 2013-01-15 12:34 UTC (permalink / raw)
  To: Xenomai

2013/1/15 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>

> On 01/15/2013 10:58 AM, alex alex wrote:
>
> > Hi all,
> >
> > My application run in the user-space and I use pthread_set_name_np() to
> > assign task name after having created my task.
> > However, I'd like my task name be assigned at the time of its creation I
> > read that it's possible in kernel space with
> > pthread_attr_setname_np<
> http://www.xenomai.org/documentation/trunk/html/api/group__posix__threadattr.html#ga4d48205cba54fed0c96dfc0d184b9f88
> >but
> > is it possible in user-space?
>
>
> No.
>
> --
>                                                                 Gilles.
>

Thanks.

Alex.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-01-15 12:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-15  9:58 [Xenomai] [POSIX] [Question] Assigning task name before its creation alex alex
2013-01-15 12:15 ` Gilles Chanteperdrix
2013-01-15 12:34   ` alex alex

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.