]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Common header file change not applicable to open-vm-tools.
authorOliver Kurth <okurth@vmware.com>
Thu, 8 Feb 2018 00:39:26 +0000 (16:39 -0800)
committerOliver Kurth <okurth@vmware.com>
Thu, 8 Feb 2018 00:39:26 +0000 (16:39 -0800)
open-vm-tools/lib/include/vm_basic_defs.h

index 4e223c772240b37616adca76aa705c0eaf45bdf7..b36250d10eb0d321b88642ee5de0668c7e81b360 100644 (file)
@@ -465,22 +465,6 @@ void *_ReturnAddress(void);
 
 #ifdef USERLEVEL // {
 
-/*
- * Note this might be a problem on NT b/c while sched_yield guarantees it
- * moves you to the end of your priority list, Sleep(0) offers no such
- * guarantee.  Bummer.  --Jeremy.
- */
-
-#if defined(_WIN32)
-#      define YIELD()          Sleep(0)
-#elif defined(VMKERNEL)
-/* We don't have a YIELD macro in the vmkernel */
-#else
-#      include <sched.h>        // For sched_yield.  Don't ask.  --Jeremy.
-#      define YIELD()          sched_yield()
-#endif 
-
-
 /*
  * Standardize some Posix names on Windows.
  */