[squeak-dev] Disable inlined message sends?

Levente Uzonyi leves at caesar.elte.hu
Mon Nov 22 11:50:26 UTC 2021

Hi Marcel,

On Mon, 22 Nov 2021, Marcel Taeumel wrote:

> Hi Levente --
> Thank you for the details. Let me emphasize one of the issues you raised with a quote:
> > But such change would break code that relies on the atomicity (actually the lack of suspension points) of those selectors.
> That's a tricky one. :-)

Indeed. Sometimes the information is expessed in a comment, like how
DelayWaitTimeout >> #wait or MCHttpRepository >> #webClientDo: does.
But there's code that just relies on the behavior without mentioning it. 
E.g. Semaphore >> #waitIfLocked: or Semaphore >> #critical:ifLocked:.
Perhaps the best way would be to introduce a pragma to mark such methods.


More information about the Squeak-dev mailing list