Re: question on spinlocks

From: Thunder from the hill (thunder@lightweight.ods.org)
Date: Sun Sep 01 2002 - 17:16:00 EST


Hi,

On 1 Sep 2002, Robert Love wrote:
> spin_lock_irq(&lck);
> ...
> spin_unlock(&lck);
> schedule();
> spin_lock_irq(&lck);
> ...
> spin_unlock_irq(&lck);

That makes me understand his intention a lot more. I must have got beaten
up by the "irqsave".

                        Thunder

-
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 : Sat Sep 07 2002 - 22:00:14 EST