Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hello,

I think these system requirements for LibreOffice imply to have a valid
implementation of getpid() :

   - Linux kernel version 2.6.18 or higher; -> clone() for NTPL
   - glibc2 version 2.5 or higher; -> NPTL

With these two requirements on Linux, we have NPTL and a good version of
getpid, wich return one PID by process.

Thanks


2011/11/22 Michael Meeks <michael.meeks@suse.com>


On Mon, 2011-11-21 at 20:08 +0100, Arnaud Versini wrote:
For getpid, this is my mistake, sorry, I must check before if NPTL
getpid is conform to the posix requirements (one PID for all threads
in one process). It seems to be Posix compliant :

        Ah - that's no problem :-) the man-page claims posix compliance
indeed;
-but- I suspect it is misleading; certainly (in the past) it returned a
different id for each thread [ at least I remember rather well it doing
this ;-]. Whether those systems are now obsolete is hard to say - but
there is/was some hidden minefield there :-)

       Thanks,

               Michael.

--
michael.meeks@suse.com  <><, Pseudo Engineer, itinerant idiot




-- 
Arnaud Versini

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.