Commited Wed. March 11, 2009 at 02:00:23 PM EDT
apparently 0 is a valid pthread_key_t value, handed out for the first pthread_create_key(). We weren't tripping over this in tekkotsu executable because libxml was making a key in the globals initialization phase, so our first key becomes 1, but the threadtest tool has trouble.