Under Linux, thread names can be set using pthread_setname_np(). This PR adds support for setting the thread names in the flesnet application, which should ease debugging. The names can be seen, e.g., in gdb (info threads) and in htop (Display options -> Show custom thread names).
Other systems such as macOS have slightly different mechanisms and are not covered or affected by this change.
Under Linux, thread names can be set using pthread_setname_np(). This PR adds support for setting the thread names in the flesnet application, which should ease debugging. The names can be seen, e.g., in gdb (info threads) and in htop (Display options -> Show custom thread names).
Other systems such as macOS have slightly different mechanisms and are not covered or affected by this change.