On Mon, Sep 14, 2009 at 11:11 PM, Peter Teoh <htmldeveloper@xxxxxxxxx> wrote: > sounds like u need TWO variables. reason goes like this: sorry....I also forgotten to mention that since there are two variable now...the interrupt sensitive one should be using spinlock and the one that need to be able to sleep() should be a mutex or semaphore. -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ