Linux is almost the only one where getpid() == thread-id. IRIX is

another one, but only if you stick to sproc(2).
This commit is contained in:
Andy Polyakov 2000-02-25 17:59:42 +00:00
parent 87a025cbb4
commit e0b8b39f3a

View file

@ -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