[zeromq-dev] ZeroMQ context threads names

DATACOM - Samuel Lucas samuellucas at datacom.ind.br
Mon Sep 17 22:49:27 CEST 2012


     I'm writing a linux application that uses zeromq. I'm also writing 
a cpu usage monitor for my application that take in account all threads 
(reading from /proc/<pid>/tasks/<thread id>/stat). I would like to set 
the thread name (prctl, PR_SET_NAME) for my zeromq threads so I can 
easily identify it.

     Is there any way to do this?


  - Samuel

More information about the zeromq-dev mailing list