Does pthread_set_name_np() work?

Laurie Jennings laurie_jennings_1977 at yahoo.com
Wed Aug 21 16:36:17 UTC 2013


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


More information about the freebsd-net mailing list