On Tue, 2006-08-29 at 11:22 -0700, Stephen Hemminger wrote: > > Probably, you should do atomic_inc_and_test() here and restart lookup, > > if it fails. > > > > Alexey > > atomic_inc_and_test is true iff result is zero, so that won't work.
Wouldn't atomic_inc_not_zero() do what you want? -- /Martin
signature.asc
Description: This is a digitally signed message part