Call to the scheduler...

Damien TOURAINE (damien.touraine@limsi.fr)
Tue, 24 Jul 2001 19:32:00 +0200


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/