Skip to contentSkip to conversation

threads in kernel

DISCUSSION Amber Palekar 2 participants 2 messages Dec 28, 2001

lore
Share & tools
lore
#0 lore raw

Hi,
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 ?? If yes , why ????

TIA
Amber,

__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

#1 lore raw
Quoted 5 lines · Amber Palekar

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

Signature · 3 lines
Shortwave goes a long way:  irc.starchat.net  #swl

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