From 8cb5a8345165d9b30230ee47dc634522476f8052 Mon Sep 17 00:00:00 2001 From: forsyth Date: Thu, 26 May 2011 19:22:37 +0200 Subject: 20110526-1922 --- CHANGES | 2 ++ emu/Nt/os.c | 2 +- include/version.h | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 966a73c3..da639314 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ +20110526 + change osyield in Windows to use SwitchToThread instead of sleep(0) [e-mail list] 20110525 utils/[5678kqv]c/mkfile - include -I. before $CFLAGS to ensure right gc.h [issue 264] 20110516 diff --git a/emu/Nt/os.c b/emu/Nt/os.c index c489d9e0..dfa69493 100644 --- a/emu/Nt/os.c +++ b/emu/Nt/os.c @@ -658,7 +658,7 @@ limbosleep(ulong milsec) void osyield(void) { - sleep(0); + SwitchToThread(); } void diff --git a/include/version.h b/include/version.h index 4628aeea..8c476e75 100644 --- a/include/version.h +++ b/include/version.h @@ -1 +1 @@ -#define VERSION "Fourth Edition (20110525)" +#define VERSION "Fourth Edition (20110526)" -- cgit v1.2.3