On 03/24/15 10:26, Emeric POUPON wrote:
Hello,
Please find attached a proposal using atomic_fetchadd.
Best Regards,
Emeric
Hi,
Your proposal using atomic_fetchadd() looks fine to me.
I think however we should define the code like a function, because the
htons() might be a macro, referring the input argument multiple times ...
What do you think?
--HPS
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"