Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [rap-dev] UICallBackManager

Igor,

unfortunately fixing this issue isn't that easy. As stated in the comment, synchronizing on runnablesLock may lead to a deadlock.
See also this bugzilla entry:
  220981: Fix synchronization Problem in UICallBackManager#addSync()
  https://bugs.eclipse.org/bugs/show_bug.cgi?id=220981

Cheers,
Rüdiger

mail.apptech.nichost.ru wrote:
Hello

I have a question about UICallBackManager. There are a set of functions that
synchronized with runnablesLock, but not the addSync function. Is it
correct?

I reproduced an incorrect situation. I have a thread that locked in
SyncRunnable#block method, but I have an empty UICallBackManager#runnables
list. It seems that the corresponding SyncRunnable of my thread was removed
from UICallBackManager#runnables before my runnable was blocked in
SyncRunnable#block method.

Is it a bug and can I fix this bug by adding synchronization of
runnablesLock? Threre is a comment that notifies about possible problems
with such aproach.

Thank you,
Igor


_______________________________________________
rap-dev mailing list
rap-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/rap-dev


Back to the top