[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: system calls on FreeBSD
From:       Valentin Nechayev <netch () netch ! kiev ! ua>
Date:       2023-10-31 12:13:14
Message-ID: 20231031121314.GA2520 () vpb ! nn ! kiev ! ua
[Download RAW message or body]

 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-

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic