octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Race condition seems to be fixed


From: Jacob Dawid
Subject: Re: Race condition seems to be fixed
Date: Tue, 22 May 2012 14:28:10 +0200

I am not highly familiar with the model/view framework in Qt, especially in mutli-thread, but by googling a bit, it doesn't look like the Model/View interaction is thread-safe.

Michael.

[1] http://stackoverflow.com/questions/9485339/design-pattern-qt-model-view-and-multiple-threads
[2] http://lists.trolltech.com/qt-interest/2005-12/thread00823-0.html

As long as you use the standard model classes it's threadsafe. But I have written my own model class, and that's where I suppose it crashes: While the GUI still assumes it is reading valid data I change the model again. The bigger the model, the higher the probability that this occurs.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]