-/* Void status - this value can be used to make sure no operation is currently
- * in progress on the concerned thread in an array of recorded threads */
-#define THREAD_NOP 0 /* nothing happened */
-
-/* Creation status */
-#define THREAD_CREATE 10 /* thread is initializing */
-#define THREAD_START 11 /* thread has forked */
-#define THREAD_READY 19 /* thread is ready */
+/* Thread priorities */
+#ifdef __APPLE__
+# define VLC_THREAD_PRIORITY_LOW 0
+# define VLC_THREAD_PRIORITY_INPUT 22
+# define VLC_THREAD_PRIORITY_AUDIO 22
+# define VLC_THREAD_PRIORITY_VIDEO 0
+# define VLC_THREAD_PRIORITY_OUTPUT 22
+# define VLC_THREAD_PRIORITY_HIGHEST 22
+
+#elif defined(SYS_BEOS)
+# define VLC_THREAD_PRIORITY_LOW 5
+# define VLC_THREAD_PRIORITY_INPUT 10
+# define VLC_THREAD_PRIORITY_AUDIO 10
+# define VLC_THREAD_PRIORITY_VIDEO 5
+# define VLC_THREAD_PRIORITY_OUTPUT 15
+# define VLC_THREAD_PRIORITY_HIGHEST 15
+
+#elif defined(LIBVLC_USE_PTHREAD)
+# define VLC_THREAD_PRIORITY_LOW 0
+# define VLC_THREAD_PRIORITY_INPUT 10
+# define VLC_THREAD_PRIORITY_AUDIO 5
+# define VLC_THREAD_PRIORITY_VIDEO 0
+# define VLC_THREAD_PRIORITY_OUTPUT 15
+# define VLC_THREAD_PRIORITY_HIGHEST 20
+
+#elif defined(WIN32) || defined(UNDER_CE)
+/* Define different priorities for WinNT/2K/XP and Win9x/Me */
+# define VLC_THREAD_PRIORITY_LOW 0
+# define VLC_THREAD_PRIORITY_INPUT \
+ (IS_WINNT ? THREAD_PRIORITY_ABOVE_NORMAL : 0)
+# define VLC_THREAD_PRIORITY_AUDIO \
+ (IS_WINNT ? THREAD_PRIORITY_HIGHEST : 0)
+# define VLC_THREAD_PRIORITY_VIDEO \
+ (IS_WINNT ? 0 : THREAD_PRIORITY_BELOW_NORMAL )
+# define VLC_THREAD_PRIORITY_OUTPUT \
+ (IS_WINNT ? THREAD_PRIORITY_ABOVE_NORMAL : 0)
+# define VLC_THREAD_PRIORITY_HIGHEST \
+ (IS_WINNT ? THREAD_PRIORITY_TIME_CRITICAL : 0)