Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Aug 2013 09:36:09 -0700 (PDT)
From:      Laurie Jennings <laurie_jennings_1977@yahoo.com>
To:        freebsd-net@freebsd.org
Subject:   Does pthread_set_name_np() work?
Message-ID:  <1377102969.15111.YahooMailBasic@web125803.mail.ne1.yahoo.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1377102969.15111.YahooMailBasic>