Re: [PATCH] pcmcia event thread. (fwd)

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu Nov 16 2000 - 08:28:26 EST


> it looks like the loop can be simplified to
>
> while (1) {
> mb();
> active = tq_pcmcia;
> if (!active)
> interruptible_sleep_on(&event_thread_wq);
> if (signal_pending(current)
> break;
> run_task_queue(&tq_pcmcia);
> }

Not if you want it to work

Alan

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



This archive was generated by hypermail 2b29 : Thu Nov 23 2000 - 21:00:10 EST