Re: multithreaded device driver

Zwane Mwaikambo (zwane@linux.realnet.co.sz)
Wed, 22 May 2002 18:31:27 +0200 (SAST)


On 23 May 2002, lylai wrote:

> Does linux kernel provide kernel level thread headers that I can use to
> write a multithreaded device driver?
>
> Do I need to program a device driver to be multithreaded to achieve
> paralle I/O?
>
> Thank you for your help.

Worth looking at linux/drivers/net/8139too.c, that uses threads. Other
methods of offloading work from a central point like an ISR could be done
with Bottom Halves (tasklets) but that won't be parallelised.

Not conclusive, but hope it helps.
Zwane Mwaikambo

-- 
http://function.linuxpower.ca
		

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