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:
parent
87a025cbb4
commit
e0b8b39f3a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user