banshee r2149 - in branches/banshee/rubenv: . src/Core/Banshee.Base src/Core/Banshee.Base/Banshee.SmartPlaylist



Author: rubenv
Date: 2007-03-09 22:47:55 +0000 (Fri, 09 Mar 2007)
New Revision: 2149
ViewCVS link: http://svn.gnome.org/viewcvs/banshee?rev=2149&view=rev

Modified:
   branches/banshee/rubenv/ChangeLog
   branches/banshee/rubenv/src/Core/Banshee.Base/Banshee.SmartPlaylist/SmartPlaylistSource.cs
   branches/banshee/rubenv/src/Core/Banshee.Base/QueuedSqliteDatabase.cs
Log:
2007-03-09  Ruben Vermeersch  <ruben savanne be>

	* src/Core/Banshee.Base/Banshee.SmartPlaylist/SmartPlaylistSource.c
	s: Wrap playlist refresh in a transaction.

	* src/Core/Banshee.Base/QueuedSqliteDatabase.cs: Add transaction support.
	This brings very basic (but functional) transaction support to banshee. It
	works by putting all other threads on hold if there is an active
	transaction. This means that thread B will block if thread A is doing a
	transaction. When thread A has finished it's transaction, thread B will
	continue. The only drawback of this: don't do a very long transaction in
	thread A (as in: minutes or seconds), thread B will hang too.





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