catered for slow process switching in test-002.moo
This commit is contained in:
parent
5ea15c24bd
commit
27fa6fa560
@ -114,7 +114,9 @@ class MyObject(Object)
|
|||||||
[ self test_semaphore_heap == true ],
|
[ self test_semaphore_heap == true ],
|
||||||
[ self test_mutex = #(2000 6000) ],
|
[ self test_mutex = #(2000 6000) ],
|
||||||
####[ self test_sem_sig ],
|
####[ 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.
|
limit := tc size.
|
||||||
|
Loading…
Reference in New Issue
Block a user