[asterisk-dev] [asterisk-commits] file: trunk r92206 - /trunk/utils/check_expr.c

Simon Perreault simon.perreault at viagenie.ca
Mon Dec 10 11:01:16 CST 2007


On Monday 10 December 2007 11:48:19 SVN commits to the Asterisk project wrote:
> +int ast_atomic_fetchadd_int_slow(volatile int *p, int v)
> +{
> +        int ret;
> +        ret = *p;
> +        *p += v;
> +        return ret;
> +}

This is not atomic!



More information about the asterisk-dev mailing list