As the sched(7) man page says:
- When a blocked SCHED_FIFO thread becomes runnable, it will be inserted at the end of the list for its priority.
But officially there is no blocked state of a thread - there are only Interruptible Sleep (S) and Uninterruptible Sleep (D).
Questions:
I think that answer to all of the questions is "Yes" but I have to be sure.
It is either in a Runnable state or in the one of the Sleep states (i.e. blocked)
So you are right that the two syscalls can be interrupted by a signal, such that both are Interruptible sleep