Skip to content
Snippets Groups Projects

Draft: pthread_create, RT scheduler, and address sanitizer are incompatible in Ubuntu 18.04

Merged Melissa requested to merge ubuntu_18_rt_add_san_incompatibility into develop
2 files
+ 1
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -142,7 +142,7 @@ void set_sched(pthread_t tid, int pid, int priority) {
schedp.sched_priority= NICE_MIN - priority ;
if ( (schedp.sched_priority < sched_get_priority_min(SCHED_FIFO)) ||
(schedp.sched_priority > sched_get_priority_max(SCHED_FIFO)) ) {
(schedp.sched_priority > sched_get_priority_max(SCHED_FIFO)) ) {
client_printf("Error: %i invalid prio, should be %i to %i, \n",
priority, NICE_MIN -sched_get_priority_min(SCHED_FIFO),
NICE_MIN - sched_get_priority_max(SCHED_FIFO) );
Loading