fixed a wrong error message

This commit is contained in:
hyunghwan.chung 2017-11-01 08:12:20 +00:00
parent b3ded6e42c
commit 7410f09cf5

View File

@ -234,7 +234,7 @@ method(#class,#abstract) xxx. => method(#class) xxx { self subclassResponsibilit
{ {
| x | | x |
x := self _wait. 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 }. if (x signalAction notNil) { x signalAction value: x }.
^x ^x
} }
@ -263,7 +263,6 @@ method(#class,#abstract) xxx. => method(#class) xxx { self subclassResponsibilit
elsif (r signalAction notNil) { r signalAction value: r }. elsif (r signalAction notNil) { r signalAction value: r }.
## nullify the membership ## nullify the membership
##s _group: nil.
self removeSemaphore: s. self removeSemaphore: s.
## cancel the notification arrangement in case it didn't time out. ## cancel the notification arrangement in case it didn't time out.