Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make the implementation more robust: don't die if something to destroy is already...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 9 Mar 2007 16:47:06 +0000 (16:47 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 9 Mar 2007 16:47:06 +0000 (16:47 +0000)
commit3bfda9681b17c62ff51a715882d40ef3091cdbb4
tree58b7c7010bbc51a462d763dc40d33f8c0470b1d2
parent20e3f0447e2e83fd41868152c58c32b36eeb4b6d
Make the implementation more robust: don't die if something to destroy is already NULL, ignore instead; don't try to delete our pthread_key on shutdown. Valgrind detects no leak if we don't, and whine if we try to

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3231 48e7efb5-ca39-0410-a469-dd3cf9ba447f
src/xbt/xbt_thread.c