On Sun, Mar 09, 2025 at 06:24:33PM +0100, Peter Skvarka wrote: > I am looking into sys/lwp.h and kern/kern_lwp.c. on lwp..() prototypes and I > have many questions on it.
Check kthread(9) and you will find many examples using it easily via nxr.netbsd.org. https://man.netbsd.org/kthread_create.9 https://nxr.netbsd.org/source/search?q=&project=src&defs=&refs=kthread_create&path=&hist= Martin