use realtime scheduling for ALSA and OSS driver threads

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1679 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2007-08-16 19:50:11 +00:00
parent 876e682ad8
commit 2d292befab
3 changed files with 6 additions and 0 deletions

View file

@ -527,6 +527,8 @@ static void thread_func(void *userdata) {
pa_log_debug("Thread starting up");
pa_make_realtime();
pa_thread_mq_install(&u->thread_mq);
if (build_pollfd(u) < 0)

View file

@ -516,6 +516,8 @@ static void thread_func(void *userdata) {
pa_log_debug("Thread starting up");
pa_make_realtime();
pa_thread_mq_install(&u->thread_mq);
if (build_pollfd(u) < 0)

View file

@ -791,6 +791,8 @@ static void thread_func(void *userdata) {
pa_log_debug("Thread starting up");
pa_make_realtime();
pa_thread_mq_install(&u->thread_mq);
trigger(u, 0);