On Fri, Jun 11, 2021 at 04:41:51PM +0000, nia wrote: > However, this value comes from the return value of pthread_self(): You did not link with -pthread (so you get the libc stub of pthread_self()). Martin