Hello,<br><br>I think these system requirements for LibreOffice imply to have a valid implementation of getpid() :<br><ul><li>Linux kernel version 2.6.18 or
higher; -&gt; clone() for NTPL<br></li><li><code>glibc2</code> version 2.5 or higher; -&gt; NPTL<br></li></ul><p>With these two requirements on Linux, we have NPTL and a good version of getpid, wich return one PID by process.</p>

<p>Thanks<br></p><br><br><div class="gmail_quote">2011/11/22 Michael Meeks <span dir="ltr">&lt;<a href="mailto:michael.meeks@suse.com">michael.meeks@suse.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im"><br>
On Mon, 2011-11-21 at 20:08 +0100, Arnaud Versini wrote:<br>
&gt; For getpid, this is my mistake, sorry, I must check before if NPTL<br>
&gt; getpid is conform to the posix requirements (one PID for all threads<br>
&gt; in one process). It seems to be Posix compliant :<br>
<br>
</div>        Ah - that&#39;s no problem :-) the man-page claims posix compliance indeed;<br>
-but- I suspect it is misleading; certainly (in the past) it returned a<br>
different id for each thread [ at least I remember rather well it doing<br>
this ;-]. Whether those systems are now obsolete is hard to say - but<br>
there is/was some hidden minefield there :-)<br>
<br>
        Thanks,<br>
<div class="HOEnZb"><div class="h5"><br>
                Michael.<br>
<br>
--<br>
<a href="mailto:michael.meeks@suse.com">michael.meeks@suse.com</a>  &lt;&gt;&lt;, Pseudo Engineer, itinerant idiot<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Arnaud Versini<br>