Hey! Off-list... On 5/26/21 1:08 PM, Steve Dickson wrote: >> + free(tinfo); >> + return ret; >> + } >> + printerr(1, "created thread id 0x%lx\n", th); > This will be removed... It turns out this tid is useful since the tid is used in the do_downcall() db statement. In general I've try to always used the function name in the db statement so it is know where it is. So maybe something like this: pthread_t tid = pthread_self(); printerr(2, "start_upcall_thread(0x%lx): created thread id 0x%lx\n", tid, th); steved. P.S. After your final version, I'm going to follow up with a debug clean up patch... So I can take care of it there... if you like.