From 27fa6fa560dc521f98d978202c5cf1221294e90a Mon Sep 17 00:00:00 2001 From: "hyunghwan.chung" Date: Thu, 14 Dec 2017 02:27:51 +0000 Subject: [PATCH] catered for slow process switching in test-002.moo --- moo/kernel/test-002.moo | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/moo/kernel/test-002.moo b/moo/kernel/test-002.moo index a715b51..a7cb265 100644 --- a/moo/kernel/test-002.moo +++ b/moo/kernel/test-002.moo @@ -114,7 +114,9 @@ class MyObject(Object) [ self test_semaphore_heap == true ], [ self test_mutex = #(2000 6000) ], ####[ self test_sem_sig ], - [ a == 300 ] + + + [ System sleepForSecs: 2. self.a == 300 ] ## sleep before checking self.a to prevent different result depending on process switching frequency and speed ). limit := tc size.