> 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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/
- [PATCH] pcmcia event thread. (fwd) David Woodhouse
- Re: [PATCH] pcmcia event thread. (fwd) Jeff Garzik
- Re: [PATCH] pcmcia event thread. (fwd) David Woodhouse
- Re: [PATCH] pcmcia event thread. (fwd) Jeff Garzik
- Re: [PATCH] pcmcia event thread. (fwd) David Woodhouse
- Re: [PATCH] pcmcia event thread. (fwd) Jeff Garzik
- Re: [PATCH] pcmcia event thread. (fwd) Alan Cox
- Re: [PATCH] pcmcia event thread. (f... David Woodhouse
- Re: [PATCH] pcmcia event thread... Tobias Ringstrom
- Re: [PATCH] pcmcia event thread... Pavel Machek
- Re: [PATCH] pcmcia event thread. (fwd) David Woodhouse
- Re: [PATCH] pcmcia event thread. (fwd) David Hinds

