From: Oliver Kurth Date: Thu, 8 Feb 2018 00:39:26 +0000 (-0800) Subject: Common header file change not applicable to open-vm-tools. X-Git-Tag: stable-10.3.0~120 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eec6e2798def2e9ff6da5e73b092cfe92e60b763;p=thirdparty%2Fopen-vm-tools.git Common header file change not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/vm_basic_defs.h b/open-vm-tools/lib/include/vm_basic_defs.h index 4e223c772..b36250d10 100644 --- a/open-vm-tools/lib/include/vm_basic_defs.h +++ b/open-vm-tools/lib/include/vm_basic_defs.h @@ -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 // For sched_yield. Don't ask. --Jeremy. -# define YIELD() sched_yield() -#endif - - /* * Standardize some Posix names on Windows. */