2016-02-06 8:16 GMT+01:00 Ben Coman <btc@openinworld.com>:
@Dennis, Why not...
    primitiveEnterCriticalSectionOnBehalfOf: activeProcess
         <primitive: 186>
         self primitiveFailed

I had been meaning to ask what this code at the top of the primitive was for...
    argumentCount > 0
            [criticalSection := self stackValue: 1.  "rcvr"
             activeProc := self stackTop]
            [criticalSection := self stackTop.  "rcvr"
             activeProc := self activeProcess].

but took a wild guess its to support onBehalfOf type calls.

Nice. What about tryAcquire (187)? Does it implemented same way?