Thread name support
Sebastian Huber
sebastian.huber at embedded-brains.de
Mon Jan 16 06:52:23 UTC 2017
On 13/01/17 18:59, Gedare Bloom wrote:
> On Fri, Jan 13, 2017 at 3:25 AM, Sebastian Huber
> <sebastian.huber at embedded-brains.de> wrote:
>> Hello,
>>
>> I added optional user-defined thread names.
>>
>> https://devel.rtems.org/ticket/2858
>>
>> The GNU pthread extensions pthread_getname_np() and pthread_setname_np() are
>> now available in RTEMS and work for all threads (internal, Classic, POSIX,
>> FreeBSD).
>>
>> http://man7.org/linux/man-pages/man3/pthread_setname_np.3.html
>>
>> The maximum thread name size is a configuration option
>> (CONFIGURE_MAXIMUM_THREAD_NAME_SIZE).
>>
>> Where should this new feature be documented in the C user manual?
>>
> I guess at posix-users/thread.rst? I don't know if we have a list of
> function calls that work across the APIs, but I know quite a few do.
It think the POSIX API manual should be replaced by a simple list of
POSIX functions implemented by RTEMS. Each with a link to The Open Group
documentation and optionally RTEMS-specific things.
The thread names are available for every API. It should be documented
somewhere in the user manual.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list