Hello,
I have a question regarding UI locking during detach. My scenario is multiple threads modifying a component, all modifications are wrapped in:
MyUI.get().access(new Runnable() {
@Override
public void run() {
modifyData(........);
}
}
There is also a PUSH thread, also locking the GUI for the push.
Nonetheless, during UI detach, the lock on UI is being acquired but never released.
Is locking an UI from different threads allowable? How is the following scenario handled:
1. Thread A acquires UI lock, starts doing some operations with component X
2. Thread B performs detach on a component X
What happens with the lock?
Kind regards & thank you for any pointers,
–
Jacek