[arm64] Scan simd registers on apple
[mono.git] / mono / utils / mach-support.c
index 19e745f630c0c54eb46f030dfb5c3e62e7b7de20..4abfcfaa2c6413b4b837c1ceef7472fdf44caa4f 100644 (file)
@@ -1,5 +1,6 @@
-/*
- * mach-support-x86.c: mach support for x86
+/**
+ * \file
+ * mach support for x86
  *
  * Authors:
  *   Geoff Norton (gnorton@novell.com)
@@ -27,7 +28,7 @@ mono_mach_get_threads (thread_act_array_t *threads, guint32 *count)
 
        do {
                ret = task_threads (current_task (), threads, count);
-       } while (ret != KERN_SUCCESS);
+       } while (ret == KERN_ABORTED);
 
        return ret;
 }