On 18/09/15 02:14, Hajime Tazaki wrote:
even a caller specify a name for rumpuser_thread_create(), the thread name isn't configured because the pthread_setname_np(3) is never called. I guess there are typos in defined name in librumpuser (rumpuser_pth.c or configure.ac). the following patch is for rumpuser_pth.c. it's only debugging purpose, but it is definitely helpful to investigate the behavior of messy threads.
Ironically, I remember it was non-trivial to get configure.ac for those config.h bits working, so naturally I didn't test that things work where the values are used :/
Applied to NetBSD HEAD (will be in src-netbsd eventually, where "eventually" is going to be sooner rather than later if requested).
Thanks!
# yes, I finally started integrating rumpuser to Linux libos.
cool!
