Merge pull request #397 from xen2/llvm_sqrt_abs
[mono.git] / mono / metadata / sgen-os-win32.c
index a8a9d17b3f3a2046d3fb3a2ebe9d0206c956adb3..664fc548770996ade1342cdb411b75ec0a415227 100644 (file)
@@ -91,6 +91,8 @@ sgen_thread_handshake (BOOL suspend)
        int count = 0;
 
        FOREACH_THREAD_SAFE (info) {
+               if (info->joined_stw == suspend)
+                       continue;
                info->joined_stw = suspend;
                if (info == current)
                        continue;