Date: Tue, 31 Oct 2023 14:13:14 +0200 From: Valentin Nechayev <netch@netch.kiev.ua> To: Jason Bacon <bacon4000@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: system calls on FreeBSD Message-ID: <20231031121314.GA2520@vpb.nn.kiev.ua> In-Reply-To: <39f7e2aa-c0fd-4d8d-af1b-f71d6a079c9e@gmail.com> References: <CAP9cUsN_t9Ob=nw00Qzsq_145jru%2BYEOz1zCJoDcoz8eN_o3ng@mail.gmail.com> <ZUBOILU92LHDUebr@kib.kiev.ua> <39f7e2aa-c0fd-4d8d-af1b-f71d6a079c9e@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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-
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20231031121314.GA2520>