<AWT Dev>  Review request for 8166942: Usage of SplashScreen Functions hangs up FX Application
semyon.sadetsky at oracle.com
Thu Oct 6 07:02:51 UTC 2016
Is it safe to lock the mutex on one thread and unlock it on another?
On 06.10.2016 06:08, Alexander Zvegintsev wrote:
> please review the fix
> for the issue
> SplashEventLoop() acquires the lock and then trying to call
> SplashRedrawWindow() which is trying execute some code on the main
> thread. Thus if we call SplashLock() from the main thread between
>  and SplashRedrawWindow() calls then we are in deadlock. Main
> thread is waiting for mutex release, other thread waiting for finish
> of code execution on the main thread. It is our case .
> The proposed solution is to acquire the lock on the main thread.
More information about the awt-dev