How to set the name for thread

macla (14)

Hi,

How to set the name for thread in linux using c, c++.
writetonsharma (1187)

you have to write your own class for that.. threads are recognized with their id's.
macla (14)
thanks for replies...
mbisht (4)
Thread's are identified by the thread variable, created by pthread_t API
AS :
pthread_t thread1;

Thanks
Madan
Topic archived. No new replies allowed.