Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: parts of a thread stack mapping, pthread_main_np()



On Sat, Apr 25, 2026 at 12:28:36AM +0200, Thomas Klausner wrote:
> I also noticed that NetBSD does not provide pthread_main_np() to
> identify the main thread of a program; which would be helpful for some
> code since the stack layouts are different for main and other threads.
> 
> Is there a reason for not providing this, or should we just add it?

My vote: we should just add it.

Martin


Home | Main Index | Thread Index | Old Index