Deriving (& dying) from Semaphore

jchludzinski at grci.com jchludzinski at grci.com
Tue Apr 25 10:21:59 UTC 2000


I attempted to derive a class from Semaphore but died sending the message #forMutualExclusion (to the derived class).  The error occurs when the derived method #signal sends "self primitiveFailed".  Why?

---John

PS> Just derive a class from Semaphore (adding nothing) and it dies when sent #forMutualExclusion.





More information about the Squeak-dev mailing list