Re: system calls on FreeBSD

From: Valentin Nechayev <netch_at_netch.kiev.ua>
Date: Tue, 31 Oct 2023 12:13:14 UTC
 Tue, Oct 31, 2023 at 04:17:44, bacon4000 wrote about "Re: system calls on FreeBSD": 

> If you're coming from Linux, note that processes and threads are the same
> thing to the Linux kernel, while in FreeBSD they are distinct. Hence the
> separation of 'struct thread' and 'struct proc'.
> 

Not exactly - processes in traditional sense are "process groups" in
Linux, so, usual exit() is viewed as exit_group() in strace, and so
on. For mental portability a kind of mapping shall be invoked :))


-netch-