{"unit":"https://translate-dev.freebsd.org/api/units/229212/?format=json","component":"https://translate-dev.freebsd.org/api/components/freebsd-doc/articles_linux-emulation/?format=json","translation":"https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_linux-emulation/es/?format=json","user":null,"author":null,"timestamp":"2021-01-09T14:33:01.093886Z","action":30,"target":"As there is a difference in view as what to the idea of a process ID and thread ID is between FreeBSD and <trademark class=\"registered\">Linux</trademark> we have to translate the view somehow. We do it by PID mangling. This means that we fake what a PID (=TGID) and TID (=PID) is between kernel and userland. The rule of thumb is that in kernel (in Linuxulator) PID = PID and TGID = shared -&gt; group pid and to userland we present <literal>PID = shared -&gt; group_pid</literal> and <literal>TID = proc -&gt; p_pid</literal>. The PID member of <literal>linux_emuldata structure</literal> is a FreeBSD PID.","id":106087,"action_name":"改变了源字符串","url":"https://translate-dev.freebsd.org/api/changes/106087/?format=json"}