threads in kernel
Hi,
I want to do a communication module.I am usingsock_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 ?? If yes , why ????
TIA
Amber,
__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
Quoted 5 lines · Amber Palekar
I want to do a communication module.I am using
sock_createetc 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, usingpoll(), select() and friends.
Rik
Signature · 3 lines
Shortwave goes a long way: irc.starchat.net #swl http://www.surriel.com/ http://distro.conectiva.com/