Subject: | Set thread names to assist debugging |
On some operating systems it's possible to set the name of a thread as displayed by 'ps', etc. For example on Linux this requires the (non-portable) pthread_setname_np() function.
Since the threads are all managed in libisc I suggest that the threads should be given names thus:
isc-worker%04x
isc-timer
isc-sockmgr
[ the name length limit on Linux is 16 chars, including the terminating NUL]