Use pthread_equal to compare pthread_t opaque handles rather than == operator. Allow removal of nominated threads to support case where application is torn down by OS.