有没有办法在Linux中设置线程的名称?
我的主要目的是在调试时提供帮助,如果通过例如公开这个名称也很好 /proc/$PID/task/$TID/...
/proc/$PID/task/$TID/...
c linux pthreads
c ×1
linux ×1
pthreads ×1