hpxc_thread_equals emulats pthread_equals
Added test of hpxc_thread_equal to self.c example