On Mon, Nov 30, 2009 at 7:30 AM, Owen Williams <owen-b...@ywwg.com> wrote:
> On Sun, 2009-11-29 at 20:40 -0800, Albert Santoni wrote:
>
>> If I add this to the end of the LibraryTableModel constructor, all my
>> threading problems magically go away:
>>
>>     while (canFetchMore())
>>         fetchMore();
>
>
>
>>
>> Thanks a ton to everyone that replied, I've been deep in thought about
>> what you all wrote for a week, and it definitely helped me think
>> through this. :)
>
> Hurray! Aren't two-line fixes the best?  I knew sqlite was written
> better than the whole one-thread theory, so I'm glad you didn't embark
> on a major rework before thinking things through.  Mixxx is really
> coming into its own.
>
> By the way, is the sqlite branch parallel installable with 1.7?  I'd
> like to work on it a little, but I have a lot of time put in to my 1.7
> comments fields (that's where I put my tags) and I don't want the sqlite
> branch to upset 1.7 in any way.
>

Sorry for the delay - I found out my fix wasn't working on OS X for
some reason (my other threads were still reporting that DB was
locked). However, I upgraded from Qt 4.5.3 to the 4.6 RC out of
desperation and my threading problems on OS X have gone away, so I
think we're in good shape once again. :)

The SQLite branch is usable in parallel with 1.7, we don't touch your
old library yet. Zach Shutters graciously sent me a patch that should
import your 1.7 library into our DB, and I'll forward that to the
list. That might be something good to test. (I haven't tried it yet
myself because I wanted to sort out the bigger DB problems first.) :)

Thanks!
Albert

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to