lkml.org 
[lkml]   [2002]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: multithreaded device driver
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/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.040 / U:0.560 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site