Mailinglist Archive: opensuse (2459 mails)

< Previous Next >
Re: [opensuse] GSOC 2008
  • From: debayan <debayanin@xxxxxxxxx>
  • Date: Fri, 21 Mar 2008 03:10:09 +0530
  • Message-id: <1206049209.6860.46.camel@xxxxxxxxxxxxxx>
Ok, that kinda answers all my questions. Thanx a lot, and sorry for
being so confusing. Do you think it could be a gsoc project?
On Thu, 2008-03-20 at 22:36 +0100, Anders Johansson wrote:
debayan wrote:
No, i am just broadcasting the packet that the game client broadcasts to
find a server. I use a packet sniffer to see what each game sends in the

That's not ping. And whether or not your program is multi threaded,
that's something you'll have to tell us.

But now I think you meant if the actual operating system code that sends
out your packets to the network is multi threaded. And the answer is
yes, it is. Almost the entire kernel is multi threaded. This is why you
have "locks" all over the place. You only need locks when you're doing
multi threaded programming

But it's not threaded in the way you seem to imply. There isn't one
thread per address you're talking to (and by the way, the broadcast
address is one single address - the kernel doesn't break it up and send
one packet to each 'real' address when you send to broadcast. That
breakup gets done by the switch). It is multi threaded in the sense that
the networking stack can work in parallel to other parts of the kernel
and user space.

Debayan Banerjee
NIT Durgapur, West Bengal, India

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >