summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES2
-rw-r--r--emu/Nt/os.c2
-rw-r--r--include/version.h2
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)"