resetting old scheduling policy correctly in free() hook
This commit is contained in:
1 parent
27d04e055d
commit
6c90949f18
1 file changed
+1
-1
@@ -463,7 +463,7 @@ void free_hook(void *ptr, const void *caller)
|
||||
}
|
||||
|
||||
install_hooks();
|
||||
pthread_setschedparam(thread_id, oldpolicy, ¶ms);
|
||||
pthread_setschedparam(thread_id, oldpolicy, &oldparams);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user