Thread name with ID

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

 



Hi,

Why is the thread name different if the thread is created with pj_thread_create or attached with pj_thread_register?

The pj_thread_register uses the thread ID in the name, this is correct.
The pj_thread_create uses the pointer to the thread descriptor in the name, this is not very useful in debugging. 

When we activate the display of the thread id in the log with PJ_LOG_HAS_THREAD_ID, we see it very clearly.

Can you modify this?

Philippe Leuba


[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