Re: threads in kernel

From: Rik van Riel (riel@conectiva.com.br)
Date: Fri Dec 28 2001 - 08:13:24 EST


On Fri, 28 Dec 2001, Amber Palekar wrote:

> I want to do a communication module.I am using
> sock_create etc for the same purpose.I went thru some
> sample code.Everywhere threads are being used.Is it
> mandatory to create kernel threads while doing
> communication(or using socks) in the kernel ??

No. You can do asynchronous IO on sockets, using
poll(), select() and friends.

Rik

-- 
Shortwave goes a long way:  irc.starchat.net  #swl

http://www.surriel.com/ http://distro.conectiva.com/

- 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/



This archive was generated by hypermail 2b29 : Mon Dec 31 2001 - 21:00:17 EST