Re: Does pthread_set_name_np() work?

2013-09-03 Thread John Baldwin
On Wednesday, August 21, 2013 12:36:09 pm Laurie Jennings wrote: Im trying to set the names of threads so I can distinguish them in top -H, but it doesn't seem to take the thread id as valid. err=pthread_set_name_np(pthread_self(),FOO); This function returns void, not an error, so you

Does pthread_set_name_np() work?

2013-08-21 Thread Laurie Jennings
Im trying to set the names of threads so I can distinguish them in top -H, but it doesn't seem to take the thread id as valid. err=pthread_set_name_np(pthread_self(),FOO); returns an error of 3 thanks, Laurie ___ freebsd-net@freebsd.org mailing