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

Alan Cox
2000-11-16T13:58:42Z

> 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