On Tue, 17 Jun 2025 14:46:08 GMT, Martin Fox <m...@openjdk.org> wrote:

>> Perhaps we ought to have a utility (latch?) to ensure the sequence?
>
> A delay of some sort is necessary to give the event loop time to process the 
> event.

Right. I think Andy was suggesting a latch (with a timeout) that would be 
triggered (counted down to 0) when the event was received. This would also 
remove the concern I raised about the flag not being volatile.

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/1804#discussion_r2152546804

Reply via email to