On 3/16/23 12:15, Alan Snyder wrote:
The test for already being on the main thread should be performed in one place, 
in this method:

On Mar 16, 2023, at 6:07 AM, Michael Hall <[email protected]> wrote:

   [ThreadUtilities performOnMainThreadWaiting:YES block:^(){

That check is already there:
https://github.com/openjdk/jdk/blob/master/src/java.desktop/macosx/native/libosxapp/ThreadUtilities.m#L103

--
Best regards, Sergey.

Reply via email to