Call to the scheduler...

From: Damien TOURAINE (damien.touraine@limsi.fr)
Date: Tue Jul 24 2001 - 12:32:00 EST


Hi !
I would like to implement a system to actively wait something but
without eating a lot of CPU.
Thus, I would like to know if there is any way to force the scheduler of
Linux to pre-empt the current process/thread, like the "sginap(0)"
function within IRIX.
Moreover, I don't want to have to be root to execute such function.

Friendly
    Damien TOURAINE

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 21:00:17 EST