pthread_self(), because it's a procvar under Linux and hence otherwise the value of the procvar instead of the function result will be taken (mantis #15821) git-svn-id: trunk@15049 -