blob: 7cba6e0c90c6f621a6a0eb14d5ec050336a14449 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- a/third_party/rust/audio_thread_priority/src/rt_linux.rs.orig 2019-10-24 07:52:22.690223829 +0200
+++ b/third_party/rust/audio_thread_priority/src/rt_linux.rs 2019-10-24 07:53:24.586418407 +0200
@@ -100,7 +100,7 @@
let mut policy = 0;
if unsafe { libc::pthread_getschedparam(pthread_id, &mut policy, &mut param) } < 0 {
- error!("pthread_getschedparam error {}", pthread_id);
+ error!("pthread_getschedparam error");
return Err(());
}
@@ -127,7 +127,7 @@
if unsafe { libc::pthread_setschedparam(rt_priority_handle.pthread_id,
rt_priority_handle.policy,
&rt_priority_handle.param) } < 0 {
- warn!("could not demote thread {}", rt_priority_handle.pthread_id);
+ warn!("could not demote thread");
return Err(());
}
return Ok(());
|