This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/11390] support for pthread_setname_np() / pthread_getname_np()


------- Additional Comments From johnstul at us dot ibm dot com  2010-04-09 19:15 -------
(In reply to comment #5)
> I don't like the limitation but I added the code.  It's not really a good idea
> to rely on the /proc filesystem.  This is why the code I committed uses prctl
> when possible.  Perhaps if people find the interface useful pressure on the
> kernel people is sufficient to enlarge the field.
> 
> I didn't use your code.  It contained many problems and unnecessary code.

Thanks Ulrich!

By the way, I was looking at the git commit you made
86a4c67fb91b82c7b47c115b88ab01b1a696f10f and noticed there is a small bug.

In pthread_getname_np, you are using PR_SET_NAME not PR_GET_NAME with the prctrl.


thanks again
-john

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11390

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]