Skip to content

Suspicious, always `true`, Boolean expression in `pthread.go`

The expression t1 == t1 in the return expression of the Xpthread_equal function always evaluates to true

// int pthread_equal(pthread_t t1, pthread_t t2);
func Xpthread_equal(t *TLS, t1, t2 pthread.Pthread_t) int32 {
        return Bool32(t1 == t1)
}

Typo?