Re: cli()/sti() clarification

From: Marco Colombo (marco@esi.it)
Date: Thu Jul 18 2002 - 09:52:00 EST


On Thu, 18 Jul 2002 irfan_hamid@softhome.net wrote:

> Hi,
>
> I added two system calls, blockintr() and unblockintr() to give cli()/sti()
> control to userland programs (yes I know its not advisable) but I only want
> to do it as a test. My test program looks like this:
>
> blockintr();
> /* Some long calculations */
> unblockintr();

May I ask what are you trying to achieve?

.TM.

-
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 23 2002 - 22:00:26 EST