1
1

SwitchToThread is not defined by any library. Not even by the kernel32.lib

as noted in the MSDN documentation. At least not on my WinXP Pro box.

This commit was SVN r10719.
Этот коммит содержится в:
George Bosilca 2006-07-11 05:36:04 +00:00
родитель 47eef2e002
Коммит ee6fab783d

Просмотреть файл

@ -42,8 +42,8 @@
#ifdef HAVE_SCHED_YIELD
# include <sched.h>
# define SPIN sched_yield()
#elif __WINDOWS__
# define SPIN SwitchToThread()
#elif defined(__WINDOWS__)
# define SPIN /*SwitchToThread() - Not until I figure out which library define it */
#else /* no switch available */
# define SPIN
#endif