[cpp-threads] Re: Thread API interface tweaks

Alexander Terekhov alexander.terekhov at gmail.com
Thu Aug 31 10:17:15 BST 2006


On 8/30/06, Howard Hinnant <hinnant at twcny.rr.com> wrote:
[...]
> (pthread_key_*, pthread_get/set_specific) and my suggestion of thread
> id (pthread_t, pthread_equal) appear to serve exactly the same role
> in this example.

Except that TSD works for process shared locks (pthread_t is process private).

regards,
alexander.



More information about the cpp-threads mailing list