Re: OS/X Java native bug
Re: OS/X Java native bug
- Subject: Re: OS/X Java native bug
- From: Alan Snyder via Cocoa-dev <email@hidden>
- Date: Sun, 19 Mar 2023 11:02:30 -0700
- Arc-authentication-results: i=1; rspamd-766d96cb5b-nqmd8; auth=pass smtp.auth=dreamhost smtp.mailfrom=email@hidden
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1679248961; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:dkim-signature; bh=GzD/n8Gb02jY9jbKFQSB9+ZfltcbwvFzWLOnma4hw1I=; b=27mV04NzBxUI0tAEcyc8Y1TYWzlL1G01xGkPYleJTzujOo2nt6EtyZedloSQSv8zB4m9WM HORZE7Eut+zea5cKBIrjEEwfYui+cmeSmfM5Rg4wx32vFIAGvOS8I8sjdkwojNLAEpTwHC nJ07Y/pSEgCSq6E9rK/Aea6bzP/tOH3kjja8+JL2uQSt5Y+bmlTOu3gDsDuYZx1sf8FB7W I3c1xZ7+aQKK52Gg9zq/iljv164nVxX2J8X2Tnu0Vla5yMattgPiCQudxvABQOtY2PipwT Bz54nB102pdnF0kOHHaOJl+Ic8xOaVft3w+BmQu1fBTpB7vqaxzJg5m0icU9UQ==
- Arc-seal: i=1; s=arc-2022; d=mailchannels.net; t=1679248961; a=rsa-sha256; cv=none; b=BnUtWyzlD8NEc8Dn+M1TLbIQr3tXGTibUnF66CvPwrMUNPkGaCRilWDmUbwcPxWgNC7fX4 GfRF4gp6UGPs9vICOgKQZxWXUEO7tzPhqM/kPXH45XABWns3E4kw0xWR3LIbGtS7Q3VcSy MVoSzxBLUbot3grhtCHoK1w9abXXQ1TQzDQR9K0uOQeNwXm4r1qcCJ00TyzDECbFJLOedh hOYFidg8Y0NSfIEF+Xe47Hgbt66igg0tiUvV+fDgZ2zdxImBLgcBvLrbLaAXMoL0sJIMTd dKTcyCzym/3wkKIXmqtr5UqHk2pa7tGEie4AYKZOKgqEAnSEeypdJkbvkeJIvw==
Your comments don’t make sense to me.
You either post an event to run the code on the main thread or, if you are on
the main thread, you run the code directly.
Running the code directly is what invoking a block does.
How is that unnecessary?
Would it make more sense if the parameter were named “c” and the code said
“c()”?
> On Mar 19, 2023, at 6:22 AM, Michael Hall <email@hidden> wrote:
>
>
>
>> On Mar 18, 2023, at 4:46 AM, Michael Hall <email@hidden> wrote:
>>
>>> On Mar 17, 2023, at 7:49 AM, Alan Snyder <email@hidden
>>> <mailto:email@hidden>> wrote:
>>>
>>> block() means invoke the block
>>
>>
>> Not exactly and it still seems unnecessary here.
>>
>> It appears to convert the block to a selector and then to invoke it.
>
> There seems to be something I’m missing here. An app running with this
> changed was crashing.
> So the separate block() call might be necessary for some reason.
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden