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