Messages in this thread |  | | Subject | Re: [PATCH] pcmcia event thread. (fwd) | Date | Thu, 16 Nov 2000 13:28:26 +0000 (GMT) | From | Alan Cox <> |
| |
> 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/
|  |