|
From: | Jacob Dawid |
Subject: | Re: Race condition seems to be fixed |
Date: | Tue, 22 May 2012 17:37:11 +0200 |
Yes, but there it did not happen there because the model wasn't updated that often. I somehow need a possibility to not accept updates as long as the GUI is still reading the model. When I held Enter, so that octave send lots of update request short after another it crashed, too.
After an update, the model emits a signal that it is not valid anymore. The view listens to that and triggers an update, reading from the model. During this time, another update request is coming in invalidating the model again, but the GUI did not finish reading it.But this is not linked to the use of readline event hook, isn't it? I mean, this crash could also happen with the other mechanism you proposed?Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |