Thread (17 messages) flat view 17 messages, 7 authors, 2012-10-19

how to put in higher priority a thread in rt-kernel?

From: Gregoire Gentil <hidden>
Date: 2012-09-09 22:51:09

Hello,

I have a mission critical job (reading some I2C and turning on/off some 
GPIOs) running inside a thread of my rt-kernel. This thread is created 
by my driver (create_singlethread_workqueue). How can I put this thread 
in highest priority? In other words, is there an equivalent of 
sched_setscheduler for thread inside the kernel?

Thanks in advance for any advice,

Grégoire

--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help