[vlc-commits] thread: change posix thread priorities to 0
Marvin Scholz
git at videolan.org
Fri Aug 14 16:03:02 CEST 2020
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Sat Apr 4 03:13:28 2020 +0200| [bc6f274af6b02eb454188ca7d72b924d9da54213] | committer: Marvin Scholz
thread: change posix thread priorities to 0
Makes it clearer that those have no effect anymore now.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bc6f274af6b02eb454188ca7d72b924d9da54213
---
include/vlc_threads.h | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/include/vlc_threads.h b/include/vlc_threads.h
index d0e3d1c10c..21f4e46c27 100644
--- a/include/vlc_threads.h
+++ b/include/vlc_threads.h
@@ -221,12 +221,15 @@ typedef pthread_key_t vlc_threadvar_t;
*/
typedef struct vlc_timer *vlc_timer_t;
+/* Thread priorities.
+ * No effect for POSIX threads
+ */
# define VLC_THREAD_PRIORITY_LOW 0
-# define VLC_THREAD_PRIORITY_INPUT 10
-# define VLC_THREAD_PRIORITY_AUDIO 5
+# define VLC_THREAD_PRIORITY_INPUT 0
+# define VLC_THREAD_PRIORITY_AUDIO 0
# define VLC_THREAD_PRIORITY_VIDEO 0
-# define VLC_THREAD_PRIORITY_OUTPUT 15
-# define VLC_THREAD_PRIORITY_HIGHEST 20
+# define VLC_THREAD_PRIORITY_OUTPUT 0
+# define VLC_THREAD_PRIORITY_HIGHEST 0
#endif
More information about the vlc-commits
mailing list