On 04/16/2013 03:24 PM, MORITA Kazutaka wrote:
> +/* uatomic_xchg for pointers */

Need document what this function returns. And xchg isn't programmer
friendly. I'd suggest following comment:

"Swaps the old value stored at location p with new value given by val.
Returns old value."

Thanks,
Yuan
-- 
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to