Removed thread comparison as it would fail on detached win32 threads