[openbeosnetteam] Re: IP protocol module

  • From: "Waldemar Kornewald" <Waldemar.Kornewald@xxxxxx>
  • To: <openbeosnetteam@xxxxxxxxxxxxx>
  • Date: Sun, 15 Jun 2003 15:14:22 +0200

> "Waldemar Kornewald" <Waldemar.Kornewald@xxxxxx> wrote:
> > I have had this question for a long time:
> > Why is the get_ip_id() function in the ip module using semaphores 
> > instead of
> > atomic_add? The comment asks this question, too, and I cannot think 
> > of any
> > problems that would arise from using atomic_add except that we should 
> > use
> > int32 instead of uint16.
> > 
> > Any ideas?
> 
> Yes, the previous maintainer obviously wasn't so good with locking. 
> Just go ahead and change it.

I have no CVS access. ;;;;;)

Waldemar

Other related posts: