From: Andy Polyakov Date: Fri, 25 Feb 2000 17:59:42 +0000 (+0000) Subject: Linux is almost the only one where getpid() == thread-id. IRIX is X-Git-Tag: OpenSSL_0_9_5beta2~50 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=e0b8b39f3a4cfbaf6e79a7db379e6d5af589835d Linux is almost the only one where getpid() == thread-id. IRIX is another one, but only if you stick to sproc(2). --- diff --git a/doc/crypto/threads.pod b/doc/crypto/threads.pod index 5f351a166a..5da056f3f8 100644 --- a/doc/crypto/threads.pod +++ b/doc/crypto/threads.pod @@ -33,7 +33,7 @@ lock. They can be useful for debugging. id_function(void) is a function that returns a thread ID. It is not needed on Windows nor on platforms where getpid() returns a different -ID for each thread. +ID for each thread (most notably Linux). =head1 RETURN VALUES