Hacker News new | past | comments | ask | show | jobs | submit login

prctl(PR_SET_NAME) on Linux - sets the thread name, and the name of the main thread is shown as the process name in most tools.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: