Jan Kiszka wrote:
Hi,
I was wondering if there is already a method in the fusion native skin
to turn the main thread of a process into real-time. Did not find
anything. I guess it would be easy to add such feature to librtai based
on existing syscalls. Should I write a patch? Something like
"rt_task_attach"?
Actually, you can already do this by calling the internal POSIX API
extension: pthread_init_rt(), which is part of the system skin
implicitely attached to a user-space RT app.
While thinking about this functionality some time ago for the native
RTAI skin, I must admit that I did not find obvious applications of it,
this is why it's not there in the first place. But maybe I'm wrong.
What's the compelling argument for having it?
--
Philippe.