<AWT Dev> deadlock between AppKit main thread and AWT event thread in JDK 17

Alan Snyder javalists at cbfiddle.com
Mon Jun 28 14:50:08 UTC 2021


To avoid this deadlock, the run loop name is required when using the NSObject method performSelectorOnMainThread:withObject:waitUntilDone:modes: <https://developer.apple.com/documentation/objectivec/nsobject/1411637-performselectoronmainthread>

JNF calls this method with the “old” run loop name.

> On Jun 28, 2021, at 7:43 AM, Michael Hall <mik3hall at gmail.com> wrote:
> 
> I’m again not familiar with the JNF that requires the run loop name.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/awt-dev/attachments/20210628/8bfb2735/attachment.htm>


More information about the awt-dev mailing list