[change] Introduce XbmcThreads::InversePredicate as a helper for threading mechanisms...
authorJim Carroll <thecarrolls@jiminger.com>
Sun, 24 Jul 2011 13:53:41 +0000 (09:53 -0400)
committerJim Carroll <thecarrolls@jiminger.com>
Sun, 31 Jul 2011 14:03:57 +0000 (10:03 -0400)
commitff3c7162f8d2e02d4edbc04b4f20fc5a607e10e3
treeb32f5ee03c17b8ea764ea6232e0712cadd454ad6
parent79bca05b61bcb56499371105745c0958de1498c0
[change] Introduce XbmcThreads::InversePredicate as a helper for threading mechanisms that deal with predicates.

This is a slight modification that makes the code more readable and provides for a general mechanism to use condition variables in a more straightforward manner. This currently effects CSharedSection and CApplication. With respect to the use of TightConditionVariable, they should be cleaner now.
xbmc/Application.cpp
xbmc/Application.h
xbmc/threads/Helpers.h
xbmc/threads/SharedSection.h