The problem with pthread_self() is that the value it returns is defined to
be opaque, and isn't necessarily (e.g.) and unsigned long (32 bit), though
many Unix and Unix like systems do use a 32 bit value ...
Dave
__
OpenSSL
Ken Goldman via RT wrote:
http://www.openssl.org/docs/crypto/threads.html says
...
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 (most notably Linux).
On my Linux system, getpid()