Re: pthread_setname_np() for debugging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello pjsip,

any suggestion on my proposed patch?

Thanks,
Martin

On 2 May 2018, at 19:25, Martin Oberhuber <mober.at@xxxxxxxxx> wrote:

This time with attachment :)
Dear pjsip list When debugging our multi-threaded Linux application that links against PJSIP, it is quite annoying that the PJSIP threads don't declare themselves. The threads inherit the application name, which makes it difficult finding our own application's main thread.
Attached patch improves this by using pthread_setname_np() from
inside lib/pj/os_core_unix.c : pj_thread_create().
Could this patch be considered for inclusion in the next PJSIP release?
Many thanks,
Martin
--
Martin Oberhuber | Software Architect, Project Lead & Consultant | Austria
<pjproject-2.7.1-pthread_setname.patch>

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux