diff options
author | FernetMenta <fernetmenta@online.de> | 2011-07-31 14:12:53 +0200 |
---|---|---|
committer | Jim Carroll <thecarrolls@jiminger.com> | 2012-04-21 07:53:55 -0400 |
commit | 64427d44d61950244b376c8ae8b6dd62c460d7f6 (patch) | |
tree | 8e3e6eca7967fb58d050f1baa2a0eb4929e4957b /lib | |
parent | 8d73c5d1f18c2fcac2aa7fc83dd2d653a4b9b0f9 (diff) |
threads: remove WINAPI, implement priority for pthreads
Also:
[fix] threads: fix race condition when stopping thread - cherry pick merge
Also, from jimfcarroll:
[fixed] AirPlayServer now complies with the new CThread constructor requirements (that is, you must supply a thread name).
replace custom thread local storage with the XbmcThreads::ThreadLocal template.
[cosmetic] removed incorrect hungarian notation.
[cleanup] Removed XSyncUtils. Moved the GlobalMemoryStatus call to XMemUtil. Cleaned up code that used the #define INFINITE from XSyncUtils.h
[cleanup] Some miscellaneous cleanup. Fixed initialization warning in LCD. Removed some unused functions and members.
[cleanup] PAPlayer warning due to constructor initialization list order.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/UnrarXLib/extract.cpp | 4 | ||||
-rw-r--r-- | lib/UnrarXLib/unpack.cpp | 5 | ||||
-rw-r--r-- | lib/UnrarXLib/unpack15.cpp | 4 |
3 files changed, 0 insertions, 13 deletions
diff --git a/lib/UnrarXLib/extract.cpp b/lib/UnrarXLib/extract.cpp index b4a8091aac..da608572de 100644 --- a/lib/UnrarXLib/extract.cpp +++ b/lib/UnrarXLib/extract.cpp @@ -1,9 +1,5 @@ #include "rar.hpp" #include "Util.h" -#ifdef _LINUX -#include "XSyncUtils.h" -#include "XEventUtils.h" -#endif // a cautious wrapper around strncpy char *strncpy_null_terminated(char *dest, const char *src, size_t n) diff --git a/lib/UnrarXLib/unpack.cpp b/lib/UnrarXLib/unpack.cpp index 265b54f5c4..bc2f2206e1 100644 --- a/lib/UnrarXLib/unpack.cpp +++ b/lib/UnrarXLib/unpack.cpp @@ -8,11 +8,6 @@ #include "unpack20.cpp" #endif -#ifdef _LINUX -#include "XSyncUtils.h" -#include "XEventUtils.h" -#endif - Unpack::Unpack(ComprDataIO *DataIO) { UnpIO=DataIO; diff --git a/lib/UnrarXLib/unpack15.cpp b/lib/UnrarXLib/unpack15.cpp index e1b5f106d7..725e2bea75 100644 --- a/lib/UnrarXLib/unpack15.cpp +++ b/lib/UnrarXLib/unpack15.cpp @@ -1,7 +1,3 @@ -#ifdef _LINUX -#include "XSyncUtils.h" -#endif - #define STARTL1 2 static unsigned int DecL1[]={0x8000,0xa000,0xc000,0xd000,0xe000,0xea00, 0xee00,0xf000,0xf200,0xf200,0xffff}; |