From 7410f09cf5ed936ca694405b4afedd1625b3896c Mon Sep 17 00:00:00 2001 From: "hyunghwan.chung" Date: Wed, 1 Nov 2017 08:12:20 +0000 Subject: [PATCH] fixed a wrong error message --- moo/kernel/Process.moo | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/moo/kernel/Process.moo b/moo/kernel/Process.moo index 204483a..ed3b05c 100644 --- a/moo/kernel/Process.moo +++ b/moo/kernel/Process.moo @@ -234,7 +234,7 @@ method(#class,#abstract) xxx. => method(#class) xxx { self subclassResponsibilit { | x | x := self _wait. - if (x isError) { thisProcess primError dump. Exception signal: ('Cannot remove a semaphore - ' & thisProcess primError) }. + if (x isError) { thisProcess primError dump. Exception signal: ('Cannot wait on a semaphore - ' & thisProcess primError) }. if (x signalAction notNil) { x signalAction value: x }. ^x } @@ -263,7 +263,6 @@ method(#class,#abstract) xxx. => method(#class) xxx { self subclassResponsibilit elsif (r signalAction notNil) { r signalAction value: r }. ## nullify the membership - ##s _group: nil. self removeSemaphore: s. ## cancel the notification arrangement in case it didn't time out.