和 threads 相关的信息:

    · thread ID

    · register value

    · a stack

    · scheduling priority and policy

    · signal mask

    · errno variable

    · thread-specific data

 

很多threads 所共享的东西:

    · .text

    · global and heap memory

    · stacks

    · file descriptors

 

这里使用的是POSIX.1-2001的 thread interface

相关文章: