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 can't trust the return value. -- John Baldwin _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"