提交 e0b8b39f 编写于 作者: A Andy Polyakov

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

another one, but only if you stick to sproc(2).
上级 87a025cb
...@@ -33,7 +33,7 @@ lock. They can be useful for debugging. ...@@ -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 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 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 =head1 RETURN VALUES
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册